We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b05da87 commit 0abbfdaCopy full SHA for 0abbfda
tests/test.py
@@ -332,11 +332,11 @@ def do_tests():
332
333
if (len(binaries) == 0):
334
print("No binaries to test")
335
- return
+ return 1
336
337
if (len(expected) == 0):
338
print("No expecteds to test against")
339
340
341
instances = []
342
@@ -377,5 +377,7 @@ def do_tests():
377
.format(total_pass, total_fail, len(instances)))
378
print("See .got files for more details")
379
380
+ return 0 if total_fail == 0 else 1
381
+
382
if __name__ == "__main__":
- do_tests()
383
+ sys.exit(do_tests())
0 commit comments