Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: third_party/lit/tests/xunit-output.py

Issue 1663053003: [fusl] Add llvm's lit tool to third_party (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: move down a dir Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/lit/tests/usage.py ('k') | third_party/lit/utils/README.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/lit/tests/xunit-output.py
diff --git a/third_party/lit/tests/xunit-output.py b/third_party/lit/tests/xunit-output.py
new file mode 100644
index 0000000000000000000000000000000000000000..3f4939536379d57470a0c23ee4586e2b1ba6f517
--- /dev/null
+++ b/third_party/lit/tests/xunit-output.py
@@ -0,0 +1,10 @@
+# Check xunit output
+# RUN: %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/test-data
+# RUN: FileCheck < %t.xunit.xml %s
+
+# CHECK: <?xml version="1.0" encoding="UTF-8" ?>
+# CHECK: <testsuites>
+# CHECK: <testsuite name='test-data' tests='1' failures='0'>
+# CHECK: <testcase classname='test-data.test-data' name='metrics.ini' time='0.{{[0-9]+}}'/>
+# CHECK: </testsuite>
+# CHECK: </testsuites>
« no previous file with comments | « third_party/lit/tests/usage.py ('k') | third_party/lit/utils/README.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698