diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py index 49a657b..ed68e13 100644 --- a/test/test.py +++ b/test/test.py | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | import shutil | 12 | import shutil |
| 13 | import os | 13 | import os |
| 14 | import glob | 14 | import glob |
| 15 | import sys | ||
| 15 | import tempfile | 16 | import tempfile |
| 16 | import unittest | 17 | import unittest |
| 17 | 18 | ||
| @@ -76,4 +77,5 @@ if __name__ == '__main__': | |||
| 76 | SUITE.addTests(clitest.get_tests()) | 77 | SUITE.addTests(clitest.get_tests()) |
| 77 | SUITE.addTests(libtest.get_tests()) | 78 | SUITE.addTests(libtest.get_tests()) |
| 78 | 79 | ||
| 79 | unittest.TextTestRunner(verbosity=VERBOSITY).run(SUITE) | 80 | ret = unittest.TextTestRunner(verbosity=VERBOSITY).run(SUITE).wasSuccessful() |
| 81 | sys.exit(ret == False) | ||
