Skip to content

Commit 5d16c98

Browse files
committed
Remove redundant xmllint check
1 parent 1ebd26c commit 5d16c98

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

llvm/utils/lit/tests/xunit-output-report-failures-only.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
# UNSUPPORTED: system-windows
2-
31
## Check xunit output.
42
# RUN: rm -rf %t.xunit.xml
53
# RUN: not %{lit} --report-failures-only --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output
6-
# If xmllint is installed verify that the generated xml is well-formed
7-
# RUN: sh -c 'if command -v xmllint 2>/dev/null; then xmllint --noout %t.xunit.xml; fi'
8-
# RUN: FileCheck < %t.xunit.xml %s
4+
# RUN: FileCheck --input-file=%t.xunit.xml %s
95

106
# CHECK: <?xml version="1.0" encoding="UTF-8"?>
117
# CHECK-NEXT: <testsuites time="{{[0-9.]+}}">
12-
# CHECK-NEXT: <testsuite name="test-data" tests="5" failures="1" skipped="3" time="{{[0-9.]+}}">
8+
# CHECK-NEXT: <testsuite name="test-data" tests="1" failures="1" skipped="0" time="{{[0-9.]+}}">
139
# CHECK-NEXT: <testcase classname="test-data.test-data" name="bad&amp;name.ini" time="{{[0-1]\.[0-9]+}}">
1410
# CHECK-NEXT: <failure><![CDATA[& < > ]]]]><![CDATA[> &"]]></failure>
1511
# CHECK-NEXT: </testcase>

0 commit comments

Comments
 (0)