mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
52 lines
1.6 KiB
Python
52 lines
1.6 KiB
Python
|
# RUN: %{lit} -j 1 -v %{inputs}/test-data-micro --output %t.results.out
|
||
|
# RUN: FileCheck < %t.results.out %s
|
||
|
# RUN: rm %t.results.out
|
||
|
|
||
|
|
||
|
# CHECK: {
|
||
|
# CHECK: "__version__"
|
||
|
# CHECK: "elapsed"
|
||
|
# CHECK-NEXT: "tests": [
|
||
|
# CHECK-NEXT: {
|
||
|
# CHECK-NEXT: "code": "PASS",
|
||
|
# CHECK-NEXT: "elapsed": null,
|
||
|
# CHECK-NEXT: "metrics": {
|
||
|
# CHECK-NEXT: "micro_value0": 4,
|
||
|
# CHECK-NEXT: "micro_value1": 1.3
|
||
|
# CHECK-NEXT: },
|
||
|
# CHECK-NEXT: "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
|
||
|
# CHECK-NEXT: "output": ""
|
||
|
# CHECK-NEXT: },
|
||
|
# CHECK-NEXT: {
|
||
|
# CHECK-NEXT: "code": "PASS",
|
||
|
# CHECK-NEXT: "elapsed": null,
|
||
|
# CHECK-NEXT: "metrics": {
|
||
|
# CHECK-NEXT: "micro_value0": 4,
|
||
|
# CHECK-NEXT: "micro_value1": 1.3
|
||
|
# CHECK-NEXT: },
|
||
|
# CHECK-NEXT: "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
|
||
|
# CHECK-NEXT: "output": ""
|
||
|
# CHECK-NEXT: },
|
||
|
# CHECK-NEXT: {
|
||
|
# CHECK-NEXT: "code": "PASS",
|
||
|
# CHECK-NEXT: "elapsed": null,
|
||
|
# CHECK-NEXT: "metrics": {
|
||
|
# CHECK-NEXT: "micro_value0": 4,
|
||
|
# CHECK-NEXT: "micro_value1": 1.3
|
||
|
# CHECK-NEXT: },
|
||
|
# CHECK-NEXT: "name": "test-data-micro :: micro-tests.ini:test{{[0-2]}}",
|
||
|
# CHECK-NEXT: "output": ""
|
||
|
# CHECK-NEXT: },
|
||
|
# 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: },
|
||
|
# CHECK-NEXT: "name": "test-data-micro :: micro-tests.ini",
|
||
|
# CHECK-NEXT: "output": "Test passed."
|
||
|
# CHECK-NEXT: }
|
||
|
# CHECK-NEXT: ]
|
||
|
# CHECK-NEXT: }
|