llvm/utils/lit/tests/shtest-env-path.py
raw| 1 | ## Tests env command for setting the PATH variable. |
| 2 | |
| 3 | # The test is using /bin/sh. Limit to system known to have /bin/sh. |
| 4 | # REQUIRES: system-linux || system-darwin |
| 5 | |
| 6 | # RUN: %{lit} -a %{inputs}/shtest-env-path/path.txt \ |
| 7 | # RUN: | FileCheck -match-full-lines %s |
| 8 | # |
| 9 | # END. |
| 10 | |
| 11 | # CHECK: -- Testing: 1 tests{{.*}} |
| 12 | # CHECK: PASS: shtest-env-path :: path.txt (1 of 1) |
| 13 | # CHECK: -- |