From: Chris Matthews Date: Sat, 6 Dec 2014 00:21:08 +0000 (+0000) Subject: Fix corner cases in lit xunit for paths with dots X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=689f10d1b56f68fafd999debc86e0b58d2d5de80;p=oota-llvm.git 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 --- 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 = "