diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-11-05 10:59:06 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-11-05 10:59:06 -0800 |
commit | 0378b315751c83690121936771f591612ec4e810 (patch) | |
tree | 47bf4df510f55fba175777e8bdc022e8ea0f3482 /test | |
parent | 1998db887e385e786c0eac4b1973bcddc6406bdc (diff) |
Fixed exit code for pathological tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/pathological_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py index b86f4c0..613f2e5 100644 --- a/test/pathological_tests.py +++ b/test/pathological_tests.py @@ -127,7 +127,7 @@ if ignored > 0: print("Ignoring these allowed failures:") for x in results['ignored']: print(x) -if (results['failed'] == 0 and results['errored'] == 0): +if failed == 0 and errored == 0: exit(0) else: exit(1) |