Fix for xunit output to work around issue in Jenkins when tests are at the root level

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223562 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Matthews 2014-12-06 01:13:49 +00:00
parent e70779ec53
commit ab1837aef3

View File

@ -206,7 +206,7 @@ class Test:
if safe_test_path: if safe_test_path:
class_name = safe_name + "." + "/".join(safe_test_path) class_name = safe_name + "." + "/".join(safe_test_path)
else: else:
class_name = safe_name class_name = safe_name + "." + safe_name
xml = "<testcase classname='" + class_name + "' name='" + \ xml = "<testcase classname='" + class_name + "' name='" + \
test_name + "'" test_name + "'"