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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index f92b898ecc9..d4a65cda06a 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.
"""
- assert os.path.lexists(filecheck)
- return filecheck
+ if os.path.lexists(filecheck):
+ return filecheck
OpenPOWER on IntegriCloud