[PATCH] D64240: [LIT] emit timeout error message only if timeout was reached
Alexey Bader via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 12 05:48:51 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL365895: [LIT] Emit timeout error message only if timeout was reached (authored by bader, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D64240?vs=208136&id=209468#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64240/new/
https://reviews.llvm.org/D64240
Files:
llvm/trunk/utils/lit/lit/TestRunner.py
Index: llvm/trunk/utils/lit/lit/TestRunner.py
===================================================================
--- llvm/trunk/utils/lit/lit/TestRunner.py
+++ llvm/trunk/utils/lit/lit/TestRunner.py
@@ -1119,7 +1119,7 @@
codeStr = str(result.exitCode)
out += "error: command failed with exit status: %s\n" % (
codeStr,)
- if litConfig.maxIndividualTestTime > 0:
+ if litConfig.maxIndividualTestTime > 0 and result.timeoutReached:
out += 'error: command reached timeout: %s\n' % (
str(result.timeoutReached),)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64240.209468.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190712/733ce741/attachment.bin>
More information about the llvm-commits
mailing list