From 0378b315751c83690121936771f591612ec4e810 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 5 Nov 2017 10:59:06 -0800 Subject: Fixed exit code for pathological tests. --- test/pathological_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3