diff options
Diffstat (limited to 'unittest/unittest.cpp')
-rw-r--r-- | unittest/unittest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unittest/unittest.cpp b/unittest/unittest.cpp index a96a82e2..f79397f4 100644 --- a/unittest/unittest.cpp +++ b/unittest/unittest.cpp @@ -319,5 +319,9 @@ int main(int argc, char ** argv) pool->release(); + if (global_failure > 0) { + exit(EXIT_FAILURE); + } + exit(EXIT_SUCCESS); }
\ No newline at end of file |