qa/test.py change to make sure failed tests return 1 in all systems.
This commit is contained in:
parent
3c343b415a
commit
bd04e61b6f
|
@ -12,7 +12,7 @@ if __name__ == '__main__':
|
||||||
results = unittest.TextTestRunner(verbosity=100).run(testsuite)
|
results = unittest.TextTestRunner(verbosity=100).run(testsuite)
|
||||||
|
|
||||||
# Return an error code if any of the testsuite tests fail
|
# Return an error code if any of the testsuite tests fail
|
||||||
if len(results.errors) > 0:
|
if not results.wasSuccessful():
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue