aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-10-12 19:29:59 +0000
committerVedant Kumar <vsk@apple.com>2018-10-12 19:29:59 +0000
commit8e2f09d61582f8e0ce8481972f47b2e1acd0175c (patch)
tree01f2e0b07a482fd394055d4c9269590965180729 /lldb/packages/Python/lldbsuite/test/configuration.py
parentc39a217412b17b53d7f9e249fe8cd1ec98c3a3c6 (diff)
downloadllvm-8e2f09d61582f8e0ce8481972f47b2e1acd0175c.zip
llvm-8e2f09d61582f8e0ce8481972f47b2e1acd0175c.tar.gz
llvm-8e2f09d61582f8e0ce8481972f47b2e1acd0175c.tar.bz2
[dotest] Make a missing FileCheck binary a warning, not an error
This allows bots which haven't updated to pass in --filecheck to dotest.py to run more tests. FileCheck-dependent tests will continue to fail. Differential Revision: https://reviews.llvm.org/D53175 llvm-svn: 344401
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 f92b898..d4a65cd 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