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:
parent
ff5aafb5f4
commit
1575ce49fd
1 changed files with 2 additions and 0 deletions
|
@ -136,5 +136,7 @@ if errors:
|
||||||
print("""
|
print("""
|
||||||
You're running tests in fast mode; before taking any action on the errors
|
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.""")
|
above, please confirm that the slow mode ('make test-old') also fails.""")
|
||||||
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
print("All successfull!")
|
print("All successfull!")
|
||||||
|
sys.exit(0)
|
||||||
|
|
Loading…
Reference in a new issue