AMDGPU: Mark test as XFAIL in expensive_checks builds
[llvm-project.git] / llvm / utils / lit / tests / shtest-cat.py
blob5efe25c41684a136a9677c6877e03d677454e2b8
1 ## Test the cat command.
3 # RUN: not %{lit} -a -v %{inputs}/shtest-cat \
4 # RUN: | FileCheck -match-full-lines %s
5 # END.
7 # CHECK: FAIL: shtest-cat :: cat-error-0.txt ({{[^)]*}})
8 # CHECK: cat -b temp1.txt
9 # CHECK: # .---command stderr{{-*}}
10 # CHECK-NEXT: # | Unsupported: 'cat': option -b not recognized
11 # CHECK: # error: command failed with exit status: 1
13 # CHECK: FAIL: shtest-cat :: cat-error-1.txt ({{[^)]*}})
14 # CHECK: cat temp1.txt
15 # CHECK: # .---command stderr{{-*}}
16 # CHECK-NEXT: # | [Errno 2] No such file or directory: 'temp1.txt'
17 # CHECK: # error: command failed with exit status: 1
19 # CHECK: PASS: shtest-cat :: cat.txt ({{[^)]*}})
21 # CHECK: Total Discovered Tests: 3
22 # CHECK-NEXT: Passed: 1 {{\([0-9]*\.[0-9]*%\)}}
23 # CHECK-NEXT: Failed: 2 {{\([0-9]*\.[0-9]*%\)}}