From cfd997111bd90fd4bc56af71882700a9477300bc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 6 Feb 2016 11:49:34 -0500 Subject: [PATCH] Tests: The 'run_all' script was not correctly using exit code 0 when all tests pass - Thanks to Gordon Ball. --- ChangeLog | 2 ++ test/problems | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a59f54763..b34ba4361 100644 --- a/ChangeLog +++ b/ChangeLog @@ -96,6 +96,8 @@ (thanks to Kent R. Spillner). - Included 'problems' script in build dir (thanks to Gordon Ball). +- The 'run_all' script was not correctly using exit code 0 when all tests pass + (thanks to Gordon Ball). ------ current release --------------------------- diff --git a/test/problems b/test/problems index 677a9761f..5bacda419 100755 --- a/test/problems +++ b/test/problems @@ -129,4 +129,4 @@ if __name__ == "__main__": print_category(expected) # If we encoutered any failures, return non-zero code - sys.exit(1 if error_int or unexpected_int else 0) + sys.exit(1 if int(error_int) or int(unexpected_int) else 0)