Debian Codegraph @

llvm/utils/lit/tests/shtest-glob.py

raw
1 ## Tests glob pattern handling in echo command.
2
3 # RUN: not %{lit} -v %{inputs}/shtest-glob \
4 # RUN: | FileCheck -dump-input=fail -match-full-lines --implicit-check-not=Error: %s
5 # END.
6
7 # CHECK: UNRESOLVED: shtest-glob :: glob-echo.txt ({{[^)]*}})
8 # CHECK: TypeError: string argument expected, got 'GlobItem'
9
10 # CHECK: FAIL: shtest-glob :: glob-mkdir.txt ({{[^)]*}})
11 # CHECK: # | Error: 'mkdir' command failed, {{.*}}example_file1.input'
12 # CHECK-NEXT: # | Error: 'mkdir' command failed, {{.*}}example_file2.input'
13 # CHECK: # error: command failed with exit status: 1