Debian Codegraph @

llvm/utils/lit/tests/print-relative-path.py

raw
1 # RUN: %{lit} --ignore-fail --show-pass %{inputs}/print-relative-path | FileCheck --check-prefix=CHECK-DEFAULT %s
2 # RUN: %{lit} --ignore-fail --show-pass -r %{inputs}/print-relative-path | FileCheck --check-prefix=CHECK-RELATIVE %s
3 # RUN: %{lit} --ignore-fail --show-pass --relative-paths %{inputs}/print-relative-path | FileCheck --check-prefix=CHECK-RELATIVE %s
4
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.txt
10 # CHECK-DEFAULT: Failed Tests (1):
11 # CHECK-DEFAULT: print-relative-path :: test2.txt
12
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.txt
17 # CHECK-RELATIVE: Failed Tests (1):
18 # CHECK-RELATIVE: Inputs{{[/\\]}}print-relative-path{{[/\\]}}test2.txt