summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/configuration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index d4a65cda06a..a7f4ac7efe2 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -188,5 +188,5 @@ def get_filecheck_path():
"""
Get the path to the FileCheck testing tool.
"""
- if os.path.lexists(filecheck):
+ if filecheck and os.path.lexists(filecheck):
return filecheck
OpenPOWER on IntegriCloud