Commit d2ab304d authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Regression exit code, for propagation into CircleCI.

parent 6a68c8a6
......@@ -126,6 +126,7 @@ def main():
print("\nFinished in %d seconds." % (time.time() - start_time))
print(run_tests, "tests,", failed_tests, "failure" + (
"s" if (failed_tests > 1 or failed_tests == 0) else "") + ".")
sys.exit(0 if failed_tests == 0 else 1)
if __name__ == "__main__":
......
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