From 7f0b0a76545fe6ef4f6d34ea407f700ac3bc12bb Mon Sep 17 00:00:00 2001 From: Chris Matthews Date: Wed, 3 Dec 2014 22:59:15 +0000 Subject: Don't allow test-suite names with . in them in xml output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223305 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 06a1a5f256cabe6d20cf745cd93b389815c988a9) --- utils/lit/lit/Test.py | 11 ++++++----- utils/lit/lit/main.py | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/utils/lit/lit/Test.py b/utils/lit/lit/Test.py index 2e0f478..b6dabe1 100644 --- a/utils/lit/lit/Test.py +++ b/utils/lit/lit/Test.py @@ -200,12 +200,13 @@ class Test: def getJUnitXML(self): test_name = self.path_in_suite[-1] test_path = self.path_in_suite[:-1] - - xml = "\n") xunit_output_file.write("\n") for suite_name, suite in by_suite.items(): - xunit_output_file.write("