From abc7aacd7d24a4523eb064825103058b22332fe9 Mon Sep 17 00:00:00 2001 From: Chris Matthews Date: Wed, 3 Dec 2014 22:59:15 +0000 Subject: [PATCH] Don't allow test-suite names with . in them in xml output llvm-svn: 223305 --- llvm/utils/lit/lit/Test.py | 11 ++++++----- llvm/utils/lit/lit/main.py | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/llvm/utils/lit/lit/Test.py b/llvm/utils/lit/lit/Test.py index 2e0f478..b6dabe1 100644 --- a/llvm/utils/lit/lit/Test.py +++ b/llvm/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("