mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
functional_tests: exit with 1 if any test fails
This commit is contained in:
parent
6fd8834d9d
commit
8646bd0086
1 changed files with 2 additions and 0 deletions
|
@ -133,3 +133,5 @@ if len(FAIL) == 0:
|
|||
print('Done, ' + str(len(PASS)) + '/' + str(len(tests)) + ' tests passed')
|
||||
else:
|
||||
print('Done, ' + str(len(FAIL)) + '/' + str(len(tests)) + ' tests failed: ' + string.join(FAIL, ', '))
|
||||
|
||||
sys.exit(0 if len(FAIL) == 0 else 1)
|
||||
|
|
Loading…
Reference in a new issue