Commit bd04e61b authored by Miguel Angel Ajo's avatar Miguel Angel Ajo

qa/test.py change to make sure failed tests return 1 in all systems.

parent 3c343b41
......@@ -12,7 +12,7 @@ if __name__ == '__main__':
results = unittest.TextTestRunner(verbosity=100).run(testsuite)
# Return an error code if any of the testsuite tests fail
if len(results.errors) > 0:
if not results.wasSuccessful():
sys.exit(1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment