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.
--- a/tests/run-tests.py Mon Aug 06 10:08:28 2007 +0200
+++ b/tests/run-tests.py Mon Aug 06 14:45:43 2007 +0200
@@ -227,6 +227,8 @@
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):