From 689f10d1b56f68fafd999debc86e0b58d2d5de80 Mon Sep 17 00:00:00 2001 From: Chris Matthews Date: Sat, 6 Dec 2014 00:21:08 +0000 Subject: [PATCH] Fix corner cases in lit xunit for paths with dots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223549 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/lit/lit/Test.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/utils/lit/lit/Test.py b/utils/lit/lit/Test.py index b6dabe16f44..7f5d4117bab 100644 --- a/utils/lit/lit/Test.py +++ b/utils/lit/lit/Test.py @@ -200,9 +200,16 @@ class Test: def getJUnitXML(self): test_name = self.path_in_suite[-1] test_path = self.path_in_suite[:-1] + safe_test_path = [x.replace(".","_") for x in test_path] safe_name = self.suite.name.replace(".","-") - xml = "