1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00

Tests: add return code in run_tests.py

The goal is to fail CI jobs if tests fail
This commit is contained in:
Xorg 2022-09-20 06:53:16 +02:00
parent ff5aafb5f4
commit 1575ce49fd
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A

View file

@ -136,5 +136,7 @@ if errors:
print("""
You're running tests in fast mode; before taking any action on the errors
above, please confirm that the slow mode ('make test-old') also fails.""")
sys.exit(1)
else:
print("All successfull!")
sys.exit(0)