Index: utils/lit/lit/TestRunner.py =================================================================== --- utils/lit/lit/TestRunner.py +++ utils/lit/lit/TestRunner.py @@ -503,7 +503,7 @@ return out, err, exitCode, timeoutInfo def executeScript(test, litConfig, tmpBase, commands, cwd): - bashPath = litConfig.getBashPath(); + bashPath = litConfig.getBashPath() isWin32CMDEXE = (litConfig.isWindows and not bashPath) script = tmpBase + '.script' if isWin32CMDEXE: Index: utils/lit/lit/util.py =================================================================== --- utils/lit/lit/util.py +++ utils/lit/lit/util.py @@ -114,8 +114,8 @@ def checkToolsPath(dir, tools): for tool in tools: if not os.path.exists(os.path.join(dir, tool)): - return False; - return True; + return False + return True def whichTools(tools, paths): for path in paths.split(os.pathsep):