xref: /aosp_15_r20/external/llvm/utils/lit/tests/xunit-output.py (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1# Check xunit output
2# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/test-data
3# RUN: FileCheck < %t.xunit.xml %s
4
5# CHECK: <?xml version="1.0" encoding="UTF-8" ?>
6# CHECK: <testsuites>
7# CHECK: <testsuite name='test-data' tests='1' failures='0'>
8# CHECK: <testcase classname='test-data.test-data' name='metrics.ini' time='0.{{[0-9]+}}'/>
9# CHECK: </testsuite>
10# CHECK: </testsuites>
11