summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-07-30 15:11:41 +0000
committerEric Fiselier <eric@efcs.ca>2019-07-30 15:11:41 +0000
commit54bb5413e6526e7bf0fb75cf9d1273cf80ef86e1 (patch)
tree1bbfcafce19ee297ea62ed6ca90d80efc4795e17 /libcxx/utils
parentb989bc47c0e30f9a3386320e116666ce305d24e9 (diff)
downloadbcm5719-llvm-54bb5413e6526e7bf0fb75cf9d1273cf80ef86e1.tar.gz
bcm5719-llvm-54bb5413e6526e7bf0fb75cf9d1273cf80ef86e1.zip
add more information to benchmark test failures
llvm-svn: 367319
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/libcxx/test/googlebenchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/utils/libcxx/test/googlebenchmark.py b/libcxx/utils/libcxx/test/googlebenchmark.py
index 6fe731e8c91..e531cba0b36 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:
OpenPOWER on IntegriCloud