summaryrefslogtreecommitdiff
path: root/gnu/llvm/utils/lit/tests/test-data.py
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2016-09-03 22:47:03 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2016-09-03 22:47:03 +0000
commitc07c59953ad4d4f16e8c3a3e25692ad9657db3ea (patch)
treee5a516d9d25bf178ab50dad2aa60c32b8684d5ee /gnu/llvm/utils/lit/tests/test-data.py
parent62bc401a55deb1281a3a42cd4f08325a6839a171 (diff)
Use the space freed up by sparc and zaurus to import LLVM.
ok hackroom@
Diffstat (limited to 'gnu/llvm/utils/lit/tests/test-data.py')
-rw-r--r--gnu/llvm/utils/lit/tests/test-data.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/llvm/utils/lit/tests/test-data.py b/gnu/llvm/utils/lit/tests/test-data.py
new file mode 100644
index 00000000000..54909d7338e
--- /dev/null
+++ b/gnu/llvm/utils/lit/tests/test-data.py
@@ -0,0 +1,12 @@
+# Test features related to formats which support reporting additional test data.
+
+# RUN: %{lit} -j 1 -v %{inputs}/test-data > %t.out
+# RUN: FileCheck < %t.out %s
+
+# CHECK: -- Testing:
+
+# CHECK: PASS: test-data :: metrics.ini
+# CHECK-NEXT: *** TEST 'test-data :: metrics.ini' RESULTS ***
+# CHECK-NEXT: value0: 1
+# CHECK-NEXT: value1: 2.3456
+# CHECK-NEXT: ***