summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/utils/lit/lit/TestRunner.py2
-rw-r--r--llvm/utils/lit/lit/util.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py
index 7c5683036a0..b283e7f6f10 100644
--- a/llvm/utils/lit/lit/TestRunner.py
+++ b/llvm/utils/lit/lit/TestRunner.py
@@ -503,7 +503,7 @@ def executeScriptInternal(test, litConfig, tmpBase, commands, cwd):
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:
diff --git a/llvm/utils/lit/lit/util.py b/llvm/utils/lit/lit/util.py
index d3187e3c3b3..609011b1972 100644
--- a/llvm/utils/lit/lit/util.py
+++ b/llvm/utils/lit/lit/util.py
@@ -114,8 +114,8 @@ def which(command, paths = None):
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):
OpenPOWER on IntegriCloud