record_results.py: do not record results of the tests interrupted with Ctrl-C
This commit is contained in:
@@ -38,8 +38,9 @@ def main():
|
||||
print arg, 'finished with code', returncode
|
||||
stdout = file(output_name).read()
|
||||
if not debug:
|
||||
record(changeset, argv, stdout, returncode)
|
||||
os.unlink(output_name)
|
||||
if returncode!=1:
|
||||
record(changeset, argv, stdout, returncode)
|
||||
os.unlink(output_name)
|
||||
sys.exit(returncode)
|
||||
|
||||
if __name__=='__main__':
|
||||
|
Reference in New Issue
Block a user