• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: %{lit} -j 1 -v %{inputs}/test-data --output %t.results.out > %t.out
2# RUN: FileCheck < %t.results.out %s
3
4# CHECK: {
5# CHECK: "__version__"
6# CHECK: "elapsed"
7# CHECK-NEXT: "tests": [
8# CHECK-NEXT:   {
9# CHECK-NEXT:     "code": "PASS",
10# CHECK-NEXT:     "elapsed": {{[0-9.]+}},
11# CHECK-NEXT:     "metrics": {
12# CHECK-NEXT:       "value0": 1,
13# CHECK-NEXT:       "value1": 2.3456
14# CHECK-NEXT:     }
15# CHECK-NEXT:     "name": "test-data :: metrics.ini",
16# CHECK-NEXT:     "output": "Test passed."
17# CHECK-NEXT:   }
18# CHECK-NEXT: ]
19# CHECK-NEXT: }
20