mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-23 13:35:42 -04:00

CDATA blocks don't need to have XML stuff escaped. Makes sense to wrap output in them instead of escaping. llvm-svn: 332116
12 lines
481 B
Python
12 lines
481 B
Python
# Check xunit output
|
|
# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output || true
|
|
# RUN: FileCheck < %t.xunit.xml %s
|
|
|
|
# CHECK: <?xml version="1.0" encoding="UTF-8" ?>
|
|
# 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 ><![CDATA[& < > "]]></failure>
|
|
# CHECK: </testsuite>
|
|
# CHECK: </testsuites>
|