Exit test-runner with non-zero if tests are KILLED
fe46eeb
introduced non-zero exit codes to test-runner.
A non-zero exit code should be returned when test-runner
decided to kill a test and mark it as KILLED.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #6325
This commit is contained in:
parent
dda82a2eab
commit
b24827ac1e
|
@ -719,6 +719,10 @@ class TestRun(object):
|
|||
|
||||
if Result.runresults['FAIL'] > 0:
|
||||
return 1
|
||||
|
||||
if Result.runresults['KILLED'] > 0:
|
||||
return 1
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue