Test: Make 'make test' exit non-zero if tests failed

This commit is contained in:
Daniel Shahaf
2015-11-07 17:45:55 -05:00
committed by Paul Beckingham
parent 8e778712ea
commit 823e3d51d0
2 changed files with 3 additions and 7 deletions

View File

@@ -198,11 +198,8 @@ def main():
runner = TestRunner()
runner.start()
# If we're producing summary report, propagate the return code
if not cmd_args.verbose:
return runner.show_report()
else:
return 0
# Propagate the return code
return runner.show_report()
if __name__ == "__main__":