diff options
Diffstat (limited to 'llvm/utils/lit/tests/shtest-readfile.py')
| -rw-r--r-- | llvm/utils/lit/tests/shtest-readfile.py | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/llvm/utils/lit/tests/shtest-readfile.py b/llvm/utils/lit/tests/shtest-readfile.py index 66e3a04..218da22 100644 --- a/llvm/utils/lit/tests/shtest-readfile.py +++ b/llvm/utils/lit/tests/shtest-readfile.py @@ -5,12 +5,16 @@  # RUN: env LIT_USE_INTERNAL_SHELL=1  not %{lit} -a -v %{inputs}/shtest-readfile | FileCheck -match-full-lines -DTEMP_PATH=%S%{fs-sep}Inputs%{fs-sep}shtest-readfile%{fs-sep}Output %s -# CHECK: -- Testing: 4 tests{{.*}} +# CHECK: -- Testing: 5 tests{{.*}}  # CHECK-LABEL: FAIL: shtest-readfile :: absolute-paths.txt ({{[^)]*}})  # CHECK: echo hello  # CHECK: # executed command: echo '%{readfile:[[TEMP_PATH]]{{[\\\/]}}absolute-paths.txt.tmp}' +# CHECK-LABEL: FAIL: shtest-readfile :: env.txt ({{[^)]*}}) +# CHECK: env TEST=hello {{.*}} -c "import os; print(os.environ['TEST'])" +# CHECK: # | hello +  # CHECK-LABEL: FAIL: shtest-readfile :: file-does-not-exist.txt ({{[^)]*}})  # CHECK: # executed command: @echo 'echo %{readfile:/file/does/not/exist}'  # CHECK: # | File specified in readfile substitution does not exist: {{.*}}/file/does/not/exist | 
