Tests: The 'run_all' script was not correctly using exit code 0 when all tests pass

- Thanks to Gordon Ball.
This commit is contained in:
Paul Beckingham 2016-02-06 11:49:34 -05:00
parent 9b5c0c81a3
commit cfd997111b
2 changed files with 3 additions and 1 deletions

View file

@ -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 ---------------------------

View file

@ -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)