Skip to content

Commit 3139417

Browse files
committed
Set exit code when tests fail
1 parent 677aaa3 commit 3139417

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/run-tests.py

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ def test (filename):
5454

5555
# restore directory
5656
os.chdir (prevdir)
57+
58+
if failed > 0 or passed == 0:
59+
sys.exit(1)

0 commit comments

Comments
 (0)