diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-27 16:00:29 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-27 16:04:30 +0200 |
| commit | b20db3b8a79c3e4e3421b1882fa80964726bdb4b (patch) | |
| tree | a38189c431fa16c5fa7069518fe3021d261590b5 /testsuite.py | |
| parent | 7427079f008155f0901a5d53f9f1d4175381a585 (diff) | |
Simplify error exits
Had missed sys.exit(msg).
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 3 |
1 files changed, 1 insertions, 2 deletions
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"): |
