diff options
author | Chris Matthews <cmatthews5@apple.com> | 2018-05-11 18:38:02 +0000 |
---|---|---|
committer | Chris Matthews <cmatthews5@apple.com> | 2018-05-11 18:38:02 +0000 |
commit | d1386a88dd1654f79544e93b03985b8700a3dbea (patch) | |
tree | 2dccbd15594ea9021f58b84cda22ef8b609277e4 /llvm/utils/lit/tests/xunit-output.py | |
parent | d10d3795f737ca8a0f602e8a442728d301e65378 (diff) | |
download | bcm5719-llvm-d1386a88dd1654f79544e93b03985b8700a3dbea.tar.gz bcm5719-llvm-d1386a88dd1654f79544e93b03985b8700a3dbea.zip |
[LIT] replace output escapes wit a cdata block
CDATA blocks don't need to have XML stuff escaped. Makes sense to wrap
output in them instead of escaping.
llvm-svn: 332116
Diffstat (limited to 'llvm/utils/lit/tests/xunit-output.py')
-rw-r--r-- | llvm/utils/lit/tests/xunit-output.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/utils/lit/tests/xunit-output.py b/llvm/utils/lit/tests/xunit-output.py index 965a01c095f..352f67e0823 100644 --- a/llvm/utils/lit/tests/xunit-output.py +++ b/llvm/utils/lit/tests/xunit-output.py @@ -6,8 +6,6 @@ # CHECK: <testsuites> # CHECK: <testsuite name='test-data' tests='1' failures='1' skipped='0'> # CHECK: <testcase classname='test-data.test-data' name='bad&name.ini' time='{{[0-1]}}.{{[0-9]+}}'> -# CHECK-NEXT: <failure > -# CHECK-NEXT:& < > " -# CHECK-NEXT:</failure> +# CHECK-NEXT: <failure ><![CDATA[& < > "]]></failure> # CHECK: </testsuite> # CHECK: </testsuites> |