From 8e2f09d61582f8e0ce8481972f47b2e1acd0175c Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 12 Oct 2018 19:29:59 +0000 Subject: [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 --- lldb/packages/Python/lldbsuite/test/lldbtest.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py') diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 982af9a9859..0bd72150bc7 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -2237,6 +2237,8 @@ class TestBase(Base): # Run FileCheck. filecheck_bin = configuration.get_filecheck_path() + if not filecheck_bin: + self.assertTrue(False, "No valid FileCheck executable specified") filecheck_args = [filecheck_bin, check_file_abs] if filecheck_options: filecheck_args.append(filecheck_options) -- cgit v1.2.3