diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-11-25 15:22:09 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-11-25 15:22:09 -0800 |
commit | 203501c14afaf6704d965de0ae7de3474424d166 (patch) | |
tree | e352a045c0c7c71d0ab953d92c6dbe06f545ce3f /unittest/unittest.cpp | |
parent | 64bf89ebdd0584a6951b68d815a3bb5abd4cdc1d (diff) |
Refactored CMakefiles, unit tests for Linux enabled
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 |