summaryrefslogtreecommitdiff
path: root/utils/lit/tests/test-data-micro.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/tests/test-data-micro.py')
-rw-r--r--utils/lit/tests/test-data-micro.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/utils/lit/tests/test-data-micro.py b/utils/lit/tests/test-data-micro.py
new file mode 100644
index 000000000000..634139e233f9
--- /dev/null
+++ b/utils/lit/tests/test-data-micro.py
@@ -0,0 +1,21 @@
+# Test features related to formats which support reporting additional test data.
+# and multiple test results.
+
+# RUN: %{lit} -j 1 -v %{inputs}/test-data-micro | FileCheck %s
+
+# CHECK: -- Testing:
+
+# CHECK: PASS: test-data-micro :: micro-tests.ini
+# CHECK-NEXT: *** TEST 'test-data-micro :: micro-tests.ini' RESULTS ***
+# CHECK-NEXT: value0: 1
+# CHECK-NEXT: value1: 2.3456
+# CHECK-NEXT: ***
+# CHECK-NEXT: *** MICRO-TEST: test0
+# CHECK-NEXT: micro_value0: 4
+# CHECK-NEXT: micro_value1: 1.3
+# CHECK-NEXT: *** MICRO-TEST: test1
+# CHECK-NEXT: micro_value0: 4
+# CHECK-NEXT: micro_value1: 1.3
+# CHECK-NEXT: *** MICRO-TEST: test2
+# CHECK-NEXT: micro_value0: 4
+# CHECK-NEXT: micro_value1: 1.3