[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
This commit is contained in:
Michal Gorny 2016-10-12 21:40:04 +00:00
parent b893afb0a5
commit e58533d1b8

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