diff options
author | lloyd <[email protected]> | 2009-07-12 12:51:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-07-12 12:51:50 +0000 |
commit | 84d45233b6b520f6d20fc82d2230add91125830e (patch) | |
tree | e41165b58daf612886c13e83843d869f00742c65 | |
parent | abbde94e4fafc6c326790831e1a3d2ff8024cc43 (diff) |
Return the test suite result code from main()
-rw-r--r-- | checks/check.cpp | 2 |
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") || |