1 # XFAIL: python2.5 2 3 # RUN: %{lit} -j 1 -v %{inputs}/test-data --output %t.results.out > %t.out 4 # RUN: FileCheck < %t.results.out %s 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": {{[0-9.]+}}, 13 # CHECK-NEXT: "metrics": { 14 # CHECK-NEXT: "value0": 1, 15 # CHECK-NEXT: "value1": 2.3456 16 # CHECK-NEXT: } 17 # CHECK-NEXT: "name": "test-data :: metrics.ini", 18 # CHECK-NEXT: "output": "Test passed." 19 # CHECK-NEXT: } 20 # CHECK-NEXT: ] 21 # CHECK-NEXT: } 22