llvm/utils/lit/tests/test-data.py
raw| 1 | # Test features related to formats which support reporting additional test data. |
| 2 | |
| 3 | # RUN: %{lit} -v %{inputs}/test-data > %t.out |
| 4 | # RUN: FileCheck < %t.out %s |
| 5 | |
| 6 | # CHECK: -- Testing: |
| 7 | |
| 8 | # CHECK: PASS: test-data :: metrics.ini |
| 9 | # CHECK-NEXT: *** TEST 'test-data :: metrics.ini' RESULTS *** |
| 10 | # CHECK-NEXT: value0: 1 |
| 11 | # CHECK-NEXT: value1: 2.3456 |
| 12 | # CHECK-NEXT: value2: "stringy" |
| 13 | # CHECK-NEXT: *** |