# HG changeset patch # User Thomas Arendsen Hein # Date 1186404343 -7200 # Node ID d27ed83289ee86ec78c013737d6359f33f993cb7 # Parent 84b10dc3dccc2a3629d386cd0aff4c3c0500dc53 Add message to test output if a test is aborted due to a timeout. Without this an aborted test could produce an empty .err file so the diff looks like as if all lines of the .out files are just missing for some unknown reason. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -227,6 +227,8 @@ def run(cmd): ret = proc.wait() if ret == 0: ret = signal.SIGTERM << 8 + output += ("\n### Abort: timeout after %d seconds.\n" + % options.timeout) return ret, splitnewlines(output) def run_one(test):