| 1 |
# RUN: %{lit} -j 1 -v %{inputs}/test-data --resultdb-output %t.results.out > %t.out |
| 2 |
# RUN: FileCheck < %t.results.out %s |
| 3 |
# RUN: %{lit} -j 1 -v %{inputs}/googletest-cmd-wrapper --resultdb-output %t.results-unit.out > %t.out |
| 4 |
# RUN: FileCheck < %t.results-unit.out --check-prefix=UNIT %s |
| 5 |
|
| 6 |
# CHECK: { |
| 7 |
# CHECK: "__version__" |
| 8 |
# CHECK: "elapsed" |
| 9 |
# CHECK-NEXT: "tests": [ |
| 10 |
# CHECK-NEXT: { |
| 11 |
# CHECK-NEXT: "artifacts": { |
| 12 |
# CHECK-NEXT: "artifact-content-in-request": { |
| 13 |
# CHECK-NEXT: "contents": "VGVzdCBwYXNzZWQu" |
| 14 |
# CHECK-NEXT: } |
| 15 |
# CHECK-NEXT: }, |
| 16 |
# CHECK-NEXT: "duration" |
| 17 |
# CHECK-NEXT: "expected": true, |
| 18 |
# CHECK-NEXT: "start_time" |
| 19 |
# CHECK-NEXT: "status": "PASS", |
| 20 |
# CHECK-NEXT: "summary_html": "<p><text-artifact artifact-id=\"artifact-content-in-request\"></p>", |
| 21 |
# CHECK-NEXT: "testId": "test-data :: metrics.ini" |
| 22 |
# CHECK-NEXT: } |
| 23 |
# CHECK-NEXT: ] |
| 24 |
# CHECK-NEXT: } |
| 25 |
|
| 26 |
# UNIT: { |
| 27 |
# UNIT: "__version__" |
| 28 |
# UNIT: "elapsed" |
| 29 |
# UNIT-NEXT: "tests": [ |
| 30 |
# UNIT-NEXT: { |
| 31 |
# UNIT-NEXT: "artifacts": { |
| 32 |
# UNIT-NEXT: "artifact-content-in-request": { |
| 33 |
# UNIT-NEXT: "contents": "" |
| 34 |
# UNIT-NEXT: } |
| 35 |
# UNIT-NEXT: }, |
| 36 |
# UNIT-NEXT: "duration" |
| 37 |
# UNIT-NEXT: "expected": true, |
| 38 |
# UNIT-NEXT: "start_time" |
| 39 |
# UNIT-NEXT: "status": "PASS", |
| 40 |
# UNIT-NEXT: "summary_html": "<p><text-artifact artifact-id=\"artifact-content-in-request\"></p>", |
| 41 |
# UNIT-NEXT: "testId": "googletest-cmd-wrapper :: DummySubDir/OneTest.exe/FirstTest/subTestA" |
| 42 |
# UNIT-NEXT: } |
| 43 |
# UNIT-NEXT: ] |
| 44 |
# UNIT-NEXT: } |