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),)