llvm.org GIT mirror llvm / deabcc5
[lit] Fix windows cmd.exe test config for r333620 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333630 91177308-0d34-0410-b5e6-96231b3b80d8 Joel E. Denny 1 year, 4 months ago
2 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
7777 isWin32CMDEXE = lit_config.isWindows and not lit_config.getBashPath()
7878 if isWin32CMDEXE:
7979 config.substitutions.append(('%{pdbg0}', "echo '"))
80 config.substitutions.append(('%{pdbg1}', "' > nul"))
80 config.substitutions.append(('%{pdbg1}', "' > nul &&"))
8181 else:
8282 config.substitutions.append(('%{pdbg0}', ": '"))
83 config.substitutions.append(('%{pdbg1}', "'"))
83 config.substitutions.append(('%{pdbg1}', "';"))
1515 # CHECK-LABEL: FAIL: shtest-run-at-line :: external-shell/basic.txt
1616
1717 # CHECK: Script:
18 # CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]]; true
19 # CHECK-NEXT: [[pdbg0]]RUN: at line 5[[pdbg1]]; false
20 # CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]]; true
18 # CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]] true
19 # CHECK-NEXT: [[pdbg0]]RUN: at line 5[[pdbg1]] false
20 # CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]] true
2121
2222 # CHECK: RUN: at line 4
2323 # CHECK: RUN: at line 5
2626 # CHECK-LABEL: FAIL: shtest-run-at-line :: external-shell/line-continuation.txt
2727
2828 # CHECK: Script:
29 # CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]]; echo 'foo bar' | FileCheck
30 # CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]]; echo 'foo baz' | FileCheck
31 # CHECK-NEXT: [[pdbg0]]RUN: at line 9[[pdbg1]]; echo 'foo bar' | FileCheck
29 # CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]] echo 'foo bar' | FileCheck
30 # CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]] echo 'foo baz' | FileCheck
31 # CHECK-NEXT: [[pdbg0]]RUN: at line 9[[pdbg1]] echo 'foo bar' | FileCheck
3232
3333 # CHECK: RUN: at line 4
3434 # CHECK: RUN: at line 6