From b20db3b8a79c3e4e3421b1882fa80964726bdb4b Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 27 May 2018 16:00:29 +0200 Subject: Simplify error exits Had missed sys.exit(msg). --- testsuite.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index 9faa92c..f157797 100644 --- a/testsuite.py +++ b/testsuite.py @@ -1921,8 +1921,7 @@ def run_compatibility_tests(): if all_passed: print("All selftests and compatibility tests passed") else: - print("Some tests failed") - sys.exit(1) + sys.exit("Some tests failed") def all_arch_srcarch_pairs(): for srcarch in os.listdir("arch"): -- cgit v1.2.3