# REQUIRES: shell # Check xunit output # RUN: rm -rf %t.xunit.xml # RUN: not %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output # If xmllint is installed verify that the generated xml is well-formed # RUN: sh -c 'if command -v xmllint 2>/dev/null; then xmllint --noout %t.xunit.xml; fi' # RUN: FileCheck < %t.xunit.xml %s # CHECK: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: ]]]]> &"]]> # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: # CHECK-NEXT: