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