diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-04-19 18:32:53 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-04-19 18:32:53 +0000 |
commit | b42556f87c3f236e65c6bc4827410a3f96045f0e (patch) | |
tree | e45a7f3d77714d0c3308c5555c691d82d9ea8c37 | |
parent | b6706490671546829826b42055f9a2a0c6c6edd2 (diff) | |
download | bcm5719-llvm-b42556f87c3f236e65c6bc4827410a3f96045f0e.tar.gz bcm5719-llvm-b42556f87c3f236e65c6bc4827410a3f96045f0e.zip |
Fix (failing) test name reporting on buildbots
- now print both test name and suite
llvm-svn: 179870
-rwxr-xr-x | lldb/test/dosep.ty | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/dosep.ty b/lldb/test/dosep.ty index 3d7d36829d8..759b44592c1 100755 --- a/lldb/test/dosep.ty +++ b/lldb/test/dosep.ty @@ -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 process for each test file. 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) |