add more information to benchmark test failures

llvm-svn: 367319
This commit is contained in:
Eric Fiselier 2019-07-30 15:11:41 +00:00
parent b989bc47c0
commit 54bb5413e6
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class GoogleBenchmark(TestFormat):
)
if exitCode:
return lit.Test.FAIL, out + err
return lit.Test.FAIL, ('exit code: %d\n' % exitCode) + out + err
passing_test_line = testName
if passing_test_line not in out: