2013-09-14 03:19:17 +02:00
|
|
|
# RUN: %{lit} -j 1 -v %{inputs}/test-data --output %t.results.out > %t.out
|
|
|
|
# RUN: FileCheck < %t.results.out %s
|
|
|
|
|
|
|
|
# CHECK: {
|
|
|
|
# CHECK: "__version__"
|
|
|
|
# CHECK: "elapsed"
|
|
|
|
# CHECK-NEXT: "tests": [
|
|
|
|
# CHECK-NEXT: {
|
|
|
|
# CHECK-NEXT: "code": "PASS",
|
|
|
|
# CHECK-NEXT: "elapsed": {{[0-9.]+}},
|
|
|
|
# CHECK-NEXT: "metrics": {
|
|
|
|
# CHECK-NEXT: "value0": 1,
|
|
|
|
# CHECK-NEXT: "value1": 2.3456
|
|
|
|
# CHECK-NEXT: }
|
2018-05-11 00:51:28 +02:00
|
|
|
# CHECK-NEXT: "name": "test-data :: metrics.ini",
|
|
|
|
# CHECK-NEXT: "output": "Test passed."
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: ]
|
2013-09-14 03:19:17 +02:00
|
|
|
# CHECK-NEXT: }
|