From b42556f87c3f236e65c6bc4827410a3f96045f0e Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Fri, 19 Apr 2013 18:32:53 +0000 Subject: [PATCH] Fix (failing) test name reporting on buildbots - now print both test name and suite llvm-svn: 179870 --- lldb/test/dosep.ty | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lldb/test/dosep.ty b/lldb/test/dosep.ty index 3d7d36829d89..759b44592c1b 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)