aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-31 23:13:33 +0000
committerlloyd <[email protected]>2013-12-31 23:13:33 +0000
commit0b11408316f7df4901535bb665631172d2d42fb0 (patch)
tree97910354a9341fd91b4dc012a9773ecd0bc07933 /checks
parent25f722680d9e754da5e58363f9706d6dd34f5ba2 (diff)
Report final test block
Diffstat (limited to 'checks')
-rw-r--r--checks/tests.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/checks/tests.cpp b/checks/tests.cpp
index 2692d9e57..0a59f19b9 100644
--- a/checks/tests.cpp
+++ b/checks/tests.cpp
@@ -109,6 +109,12 @@ size_t run_tests_bb(std::istream& src,
}
}
+ if(fixed_name != "" && (algo_count > 0 || algo_fail > 0))
+ {
+ test_report(fixed_name, algo_count, algo_fail);
+ test_count += algo_count;
+ test_fails += algo_fail;
+ }
test_report(name_key, test_count, test_fails);
return test_fails;