diff --git a/libcxx/utils/libcxx/test/googlebenchmark.py b/libcxx/utils/libcxx/test/googlebenchmark.py index 6fe731e8c91a..e531cba0b368 100644 --- a/libcxx/utils/libcxx/test/googlebenchmark.py +++ b/libcxx/utils/libcxx/test/googlebenchmark.py @@ -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: