From e58533d1b83d3b1c58cc3e349a0f58675548da42 Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Wed, 12 Oct 2016 21:40:04 +0000 Subject: [PATCH] [lit] Fix FormatError on individual test timeout Differential Revision: https://reviews.llvm.org/D25195 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284056 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/lit/lit/TestRunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py index b283e7f6f10..41af9da2638 100644 --- a/utils/lit/lit/TestRunner.py +++ b/utils/lit/lit/TestRunner.py @@ -498,7 +498,7 @@ def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): 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 -- 2.49.0