[PATCH] D25195: [lit] Fix FormatError on individual test timeout

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 14:49:10 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL284056: [lit] Fix FormatError on individual test timeout (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D25195?vs=73292&id=74443#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D25195

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
@@ -498,7 +498,7 @@
                 result.exitCode,)
         if litConfig.maxIndividualTestTime > 0:
             out += 'error: command reached timeout: %s\n' % (
-                i, str(result.timeoutReached))
+                str(result.timeoutReached),)
 
     return out, err, exitCode, timeoutInfo
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25195.74443.patch
Type: text/x-patch
Size: 509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161012/1d3de3e3/attachment.bin>


More information about the llvm-commits mailing list