[Lldb-commits] [lldb] r252058 - Fix test infrastructure when using xunit output.

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 4 09:10:40 PST 2015


Author: tfiala
Date: Wed Nov  4 11:10:40 2015
New Revision: 252058

URL: http://llvm.org/viewvc/llvm-project?rev=252058&view=rev
Log:
Fix test infrastructure when using xunit output.

Our test reporting infrastructure needed module names to change based on the python package layout.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/dotest.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest.py?rev=252058&r1=252057&r2=252058&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Wed Nov  4 11:10:40 2015
@@ -922,12 +922,12 @@ def setupTestResults():
         else:
             results_file_object = open(results_filename, "w")
             cleanup_func = results_file_object.close
-        default_formatter_name = "test_results.XunitFormatter"
+        default_formatter_name = "lldbsuite.test.test_results.XunitFormatter"
     elif results_port:
         # Connect to the specified localhost port.
         results_file_object, cleanup_func = createSocketToLocalPort(
             results_port)
-        default_formatter_name = "test_results.RawPickledFormatter"
+        default_formatter_name = "lldbsuite.test.test_results.RawPickledFormatter"
 
     if results_file_object:
         # We care about the formatter.  Choose user-specified or, if




More information about the lldb-commits mailing list