cmark

Unnamed repository; edit this file 'description' to name the repository.

commit 0378b315751c83690121936771f591612ec4e810
parent 1998db887e385e786c0eac4b1973bcddc6406bdc
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Sun,  5 Nov 2017 10:59:06 -0800

Fixed exit code for pathological tests.

Diffstat:
Mtest/pathological_tests.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)