diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2016-06-30 13:28:08 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2016-06-30 15:02:12 +0200 |
commit | 419578bee89068645051556ea591ddeda34aaa85 (patch) | |
tree | 4d3aad651a21c440511479c15142ecb071fb5725 /fastos/src/tests/thread_stats_test.cpp | |
parent | ec03bb7d9f40d4cc4ea5a66bd2553588a6195f0b (diff) |
return 0 only if all ok
Diffstat (limited to 'fastos/src/tests/thread_stats_test.cpp')
-rw-r--r-- | fastos/src/tests/thread_stats_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fastos/src/tests/thread_stats_test.cpp b/fastos/src/tests/thread_stats_test.cpp index 9959406cc8c..2f1a9b0d51a 100644 --- a/fastos/src/tests/thread_stats_test.cpp +++ b/fastos/src/tests/thread_stats_test.cpp @@ -127,8 +127,7 @@ int Thread_Stats_Test::Main () { time_t now = time(0); printf("[%ld seconds]\n", now-before); before = now; } printf("END OF TEST (%s)\n", _argv[0]); - - return 0; + return allWasOk() ? 0 : 1; } int main (int argc, char **argv) |