[Test] Register premature termination of Python tests as a failure
This commit is contained in:
parent
e59a7a7eeb
commit
6a9fee8805
1 changed files with 2 additions and 0 deletions
|
|
@ -81,6 +81,8 @@ def addPythonTest(testname, subdir, script, interpreter, outfile,
|
|||
if not code:
|
||||
# Test was successful
|
||||
open(target[0].path, 'w').write(time.asctime()+'\n')
|
||||
else:
|
||||
testResults.failed[testname] = True
|
||||
|
||||
for line in open(outfile):
|
||||
status, name = line.strip().split(': ', 1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue