19 lines · python
1# RUN: %{lit} --ignore-fail --show-pass %{inputs}/print-relative-path | FileCheck --check-prefix=CHECK-DEFAULT %s2# RUN: %{lit} --ignore-fail --show-pass -r %{inputs}/print-relative-path | FileCheck --check-prefix=CHECK-RELATIVE %s3# RUN: %{lit} --ignore-fail --show-pass --relative-paths %{inputs}/print-relative-path | FileCheck --check-prefix=CHECK-RELATIVE %s4 5 6# CHECK-DEFAULT: PASS: print-relative-path :: test.txt (1 of 2)7# CHECK-DEFAULT: FAIL: print-relative-path :: test2.txt (2 of 2)8# CHECK-DEFAULT: Passed Tests (1):9# CHECK-DEFAULT: print-relative-path :: test.txt10# CHECK-DEFAULT: Failed Tests (1):11# CHECK-DEFAULT: print-relative-path :: test2.txt12 13# CHECK-RELATIVE: PASS: print-relative-path :: test.txt (1 of 2)14# CHECK-RELATIVE: FAIL: print-relative-path :: test2.txt (2 of 2)15# CHECK-RELATIVE: Passed Tests (1):16# CHECK-RELATIVE: Inputs{{[/\\]}}print-relative-path{{[/\\]}}test.txt17# CHECK-RELATIVE: Failed Tests (1):18# CHECK-RELATIVE: Inputs{{[/\\]}}print-relative-path{{[/\\]}}test2.txt19