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

This commit is contained in:
Miguel Angel Ajo 2015-02-01 19:20:20 +01:00
parent 3c343b415a
commit bd04e61b6f
1 changed files with 1 additions and 1 deletions

View File

@ -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)