[libcxx-commits] [libcxx] r367319 - add more information to benchmark test failures

Eric Fiselier via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 30 08:11:41 PDT 2019


Author: ericwf
Date: Tue Jul 30 08:11:41 2019
New Revision: 367319

URL: http://llvm.org/viewvc/llvm-project?rev=367319&view=rev
Log:
add more information to benchmark test failures

Modified:
    libcxx/trunk/utils/libcxx/test/googlebenchmark.py

Modified: libcxx/trunk/utils/libcxx/test/googlebenchmark.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/test/googlebenchmark.py?rev=367319&r1=367318&r2=367319&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/googlebenchmark.py (original)
+++ libcxx/trunk/utils/libcxx/test/googlebenchmark.py Tue Jul 30 08:11:41 2019
@@ -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:




More information about the libcxx-commits mailing list