diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-06-10 19:46:22 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-06-10 19:46:22 +0000 |
commit | 66031e625d512b82a2d9d1546773b9fc0f8645bd (patch) | |
tree | 3136e3e661950dd7dda533eb5ff3cd64c12ca4b0 /test/bbackupd | |
parent | fe33c255c7890929d86c8524ff9764cb0794e6c3 (diff) |
Ensure that errored tests are reported as failures, not successes
Diffstat (limited to 'test/bbackupd')
-rw-r--r-- | test/bbackupd/testbbackupd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index e5df9d32..496c84f7 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -515,11 +515,12 @@ bool teardown_test_bbackupd(std::string test_name, int old_failure_count) catch (BoxException &e) \ { \ BOX_NOTICE(__FUNCTION__ << " errored: " << e.what()); \ + failures++; \ bool status = teardown_test_bbackupd(__FUNCTION__, old_failure_count); \ s_test_status[__FUNCTION__] = "ERRORED"; \ return status; \ } - + bool test_basics() { |