[Lldb-commits] [lldb] r179870 - Fix (failing) test name reporting on buildbots
Daniel Malea
daniel.malea at intel.com
Fri Apr 19 11:32:53 PDT 2013
Author: dmalea
Date: Fri Apr 19 13:32:53 2013
New Revision: 179870
URL: http://llvm.org/viewvc/llvm-project?rev=179870&view=rev
Log:
Fix (failing) test name reporting on buildbots
- now print both test name and suite
Modified:
lldb/trunk/test/dosep.ty
Modified: lldb/trunk/test/dosep.ty
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dosep.ty?rev=179870&r1=179869&r2=179870&view=diff
==============================================================================
--- lldb/trunk/test/dosep.ty (original)
+++ lldb/trunk/test/dosep.ty Fri Apr 19 13:32:53 2013
@@ -4,7 +4,7 @@
Run the test suite using a separate process for each test file.
"""
-import os, sys
+import os, sys, platform
from optparse import OptionParser
# Command template of the invocation of the test driver.
@@ -48,15 +48,15 @@ Run lldb test suite using a separate pro
opts, args = parser.parse_args()
dotest_options = opts.dotest_options
- print "dotest.py options:", dotest_options
-
+ system_info = " ".join(platform.uname())
(failed, passed) = walk_and_invoke(test_root, dotest_options)
num_tests = len(failed) + len(passed)
+
print "Ran %d tests." % num_tests
if len(failed) > 0:
print "Failing Tests (%d)" % len(failed)
for f in failed:
- print "FAIL: LLDB :: (%s)" % f
+ print "FAIL: LLDB (suite) :: %s (%s)" % (f, system_info)
sys.exit(1)
sys.exit(0)
More information about the lldb-commits
mailing list