mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[lit] Fix windows cmd.exe test config for r333620
llvm-svn: 333630
This commit is contained in:
parent
1a2c74c831
commit
a04841e104
@ -78,7 +78,7 @@ config.environment['PATH'] = path
|
|||||||
isWin32CMDEXE = lit_config.isWindows and not lit_config.getBashPath()
|
isWin32CMDEXE = lit_config.isWindows and not lit_config.getBashPath()
|
||||||
if isWin32CMDEXE:
|
if isWin32CMDEXE:
|
||||||
config.substitutions.append(('%{pdbg0}', "echo '"))
|
config.substitutions.append(('%{pdbg0}', "echo '"))
|
||||||
config.substitutions.append(('%{pdbg1}', "' > nul"))
|
config.substitutions.append(('%{pdbg1}', "' > nul &&"))
|
||||||
else:
|
else:
|
||||||
config.substitutions.append(('%{pdbg0}', ": '"))
|
config.substitutions.append(('%{pdbg0}', ": '"))
|
||||||
config.substitutions.append(('%{pdbg1}', "'"))
|
config.substitutions.append(('%{pdbg1}', "';"))
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
# CHECK-LABEL: FAIL: shtest-run-at-line :: external-shell/basic.txt
|
# CHECK-LABEL: FAIL: shtest-run-at-line :: external-shell/basic.txt
|
||||||
|
|
||||||
# CHECK: Script:
|
# CHECK: Script:
|
||||||
# CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]]; true
|
# CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]] true
|
||||||
# CHECK-NEXT: [[pdbg0]]RUN: at line 5[[pdbg1]]; false
|
# CHECK-NEXT: [[pdbg0]]RUN: at line 5[[pdbg1]] false
|
||||||
# CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]]; true
|
# CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]] true
|
||||||
|
|
||||||
# CHECK: RUN: at line 4
|
# CHECK: RUN: at line 4
|
||||||
# CHECK: RUN: at line 5
|
# CHECK: RUN: at line 5
|
||||||
@ -27,9 +27,9 @@
|
|||||||
# CHECK-LABEL: FAIL: shtest-run-at-line :: external-shell/line-continuation.txt
|
# CHECK-LABEL: FAIL: shtest-run-at-line :: external-shell/line-continuation.txt
|
||||||
|
|
||||||
# CHECK: Script:
|
# CHECK: Script:
|
||||||
# CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]]; echo 'foo bar' | FileCheck
|
# CHECK: [[pdbg0]]RUN: at line 4[[pdbg1]] echo 'foo bar' | FileCheck
|
||||||
# CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]]; echo 'foo baz' | FileCheck
|
# CHECK-NEXT: [[pdbg0]]RUN: at line 6[[pdbg1]] echo 'foo baz' | FileCheck
|
||||||
# CHECK-NEXT: [[pdbg0]]RUN: at line 9[[pdbg1]]; echo 'foo bar' | FileCheck
|
# CHECK-NEXT: [[pdbg0]]RUN: at line 9[[pdbg1]] echo 'foo bar' | FileCheck
|
||||||
|
|
||||||
# CHECK: RUN: at line 4
|
# CHECK: RUN: at line 4
|
||||||
# CHECK: RUN: at line 6
|
# CHECK: RUN: at line 6
|
||||||
|
Loading…
Reference in New Issue
Block a user