[lit] Fix FormatError on individual test timeout

Differential Revision: https://reviews.llvm.org/D25195

llvm-svn: 284056
This commit is contained in:
Michal Gorny 2016-10-12 21:40:04 +00:00
parent b574b07564
commit 090eebb691
1 changed files with 1 additions and 1 deletions

View File

@ -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