[Lldb-commits] [lldb] r297538 - fix xunit attribute parsing

Tim Hammerquist via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 10 16:58:41 PST 2017


Author: penryu
Date: Fri Mar 10 18:58:41 2017
New Revision: 297538

URL: http://llvm.org/viewvc/llvm-project?rev=297538&view=rev
Log:
fix xunit attribute parsing

Modified:
    lldb/trunk/packages/Python/lldbsuite/test_event/formatter/xunit.py

Modified: lldb/trunk/packages/Python/lldbsuite/test_event/formatter/xunit.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test_event/formatter/xunit.py?rev=297538&r1=297537&r2=297538&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test_event/formatter/xunit.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test_event/formatter/xunit.py Fri Mar 10 18:58:41 2017
@@ -336,7 +336,7 @@ class XunitFormatter(ResultsFormatter):
             test_event,
             inner_content=(
                 '<error type={} message={}></error>'.format(
-                    "timeout",
+                    XunitFormatter._quote_attribute("timeout"),
                     XunitFormatter._quote_attribute(message))
             ))
         with self.lock:




More information about the lldb-commits mailing list