1 # Check the various features of the ShTest format.
3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-output-printing > %t.out
4 # RUN: FileCheck --input-file %t.out %s
10 # CHECK: FAIL: shtest-output-printing :: basic.txt
11 # CHECK-NEXT: *** TEST 'shtest-output-printing :: basic.txt' FAILED ***
15 # CHECK-NEXT: Exit Code: 1
17 # CHECK: Command Output
19 # CHECK-NEXT: $ ":" "RUN: at line 1"
20 # CHECK-NEXT: $ "true"
21 # CHECK-NEXT: $ ":" "RUN: at line 2"
22 # CHECK-NEXT: $ "echo" "hi"
23 # CHECK-NEXT: # command output:
26 # CHECK: $ ":" "RUN: at line 3"
27 # CHECK-NEXT: $ "not" "not" "wc" "missing-file"
28 # CHECK-NEXT: # redirected output from '{{.*(/|\\\\)}}basic.txt.tmp.out':
29 # CHECK-NEXT: {{cannot open missing-file|missing-file.* No such file or directory}}
30 # CHECK: note: command had no output on stdout or stderr
31 # CHECK-NEXT: error: command failed with exit status: 1