From 8a7c194bc7e64c89007e05dd2008e20cda0969a4 Mon Sep 17 00:00:00 2001 From: Chris Matthews Date: Sat, 6 Dec 2014 00:21:08 +0000 Subject: Fix corner cases in lit xunit for paths with dots llvm-svn: 223549 --- llvm/utils/lit/lit/Test.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'llvm/utils/lit') diff --git a/llvm/utils/lit/lit/Test.py b/llvm/utils/lit/lit/Test.py index b6dabe16f44..7f5d4117bab 100644 --- a/llvm/utils/lit/lit/Test.py +++ b/llvm/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 = "