summaryrefslogtreecommitdiffhomepage
path: root/test/run.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest/run.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/run.py b/test/run.py
index 01765249..0504a6f7 100755
--- a/test/run.py
+++ b/test/run.py
@@ -12,5 +12,8 @@ tests = loader.discover(start_dir=this_dir)
suite.addTests(tests)
runner = unittest.TextTestRunner(verbosity=3)
-result = not runner.run(suite).wasSuccessful()
-sys.exit(result)
+result = runner.run(suite)
+
+ret = not (len(result.failures) == len(result.errors) == 0)
+
+sys.exit(ret)