1# RUN: %{lit} -j 1 -v %{inputs}/test-data-micro --output %t.results.out
2# RUN: FileCheck < %t.results.out %s
3# RUN: rm %t.results.out
4
5
6# CHECK: {
7# CHECK: "__version__"
8# CHECK: "elapsed"
9# CHECK-NEXT: "tests": [
10# CHECK-NEXT:   {
11# CHECK-NEXT:     "code": "PASS",
12# CHECK-NEXT:     "elapsed": null,
13# CHECK-NEXT:     "metrics": {
14# CHECK-NEXT:       "micro_value0": 4,
15# CHECK-NEXT:       "micro_value1": 1.3
16# CHECK-NEXT:     },
17# CHECK-NEXT:     "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
18# CHECK-NEXT:     "output": ""
19# CHECK-NEXT:   },
20# CHECK-NEXT:   {
21# CHECK-NEXT:     "code": "PASS",
22# CHECK-NEXT:     "elapsed": null,
23# CHECK-NEXT:     "metrics": {
24# CHECK-NEXT:       "micro_value0": 4,
25# CHECK-NEXT:       "micro_value1": 1.3
26# CHECK-NEXT:     },
27# CHECK-NEXT:     "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
28# CHECK-NEXT:     "output": ""
29# CHECK-NEXT:   },
30# CHECK-NEXT:   {
31# CHECK-NEXT:     "code": "PASS",
32# CHECK-NEXT:     "elapsed": null,
33# CHECK-NEXT:     "metrics": {
34# CHECK-NEXT:       "micro_value0": 4,
35# CHECK-NEXT:       "micro_value1": 1.3
36# CHECK-NEXT:     },
37# CHECK-NEXT:     "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
38# CHECK-NEXT:     "output": ""
39# CHECK-NEXT:   },
40# CHECK-NEXT:   {
41# CHECK-NEXT:     "code": "PASS",
42# CHECK-NEXT:     "elapsed": {{[0-9.]+}},
43# CHECK-NEXT:     "metrics": {
44# CHECK-NEXT:       "value0": 1,
45# CHECK-NEXT:       "value1": 2.3456
46# CHECK-NEXT:     },
47# CHECK-NEXT:     "name": "test-data-micro :: micro-tests.ini",
48# CHECK-NEXT:     "output": "Test passed."
49# CHECK-NEXT:   }
50# CHECK-NEXT: ]
51# CHECK-NEXT: }
52