add more information to benchmark test failures
authorEric Fiselier <eric@efcs.ca>
Tue, 30 Jul 2019 15:11:41 +0000 (15:11 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 30 Jul 2019 15:11:41 +0000 (15:11 +0000)
llvm-svn: 367319

libcxx/utils/libcxx/test/googlebenchmark.py

index 6fe731e..e531cba 100644 (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: