Index: utils/lit/lit/TestRunner.py =================================================================== --- utils/lit/lit/TestRunner.py +++ utils/lit/lit/TestRunner.py @@ -572,7 +572,7 @@ def executeScript(test, litConfig, tmpBase, commands, cwd): bashPath = litConfig.getBashPath() - isWin32CMDEXE = (litConfig.isWindows and not bashPath) + isWin32CMDEXE = litConfig.isWindows script = tmpBase + '.script' if isWin32CMDEXE: script += '.bat'