summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py3
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"):