aboutsummaryrefslogtreecommitdiffstats
path: root/checks/check.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-12 12:51:50 +0000
committerlloyd <[email protected]>2009-07-12 12:51:50 +0000
commit84d45233b6b520f6d20fc82d2230add91125830e (patch)
treee41165b58daf612886c13e83843d869f00742c65 /checks/check.cpp
parentabbde94e4fafc6c326790831e1a3d2ff8024cc43 (diff)
Return the test suite result code from main()
Diffstat (limited to 'checks/check.cpp')
-rw-r--r--checks/check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/check.cpp b/checks/check.cpp
index 5956c7055..678cf4b09 100644
--- a/checks/check.cpp
+++ b/checks/check.cpp
@@ -122,7 +122,7 @@ int main(int argc, char* argv[])
if(opts.is_set("validate") || opts.is_set("test"))
{
- run_test_suite(rng);
+ return run_test_suite(rng);
}
if(opts.is_set("bench-algo") ||
opts.is_set("benchmark") ||