From: Zachary Turner Date: Tue, 8 May 2018 18:20:10 +0000 (+0000) Subject: [lit] Fix running tests that require 'examples'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22d36a3a09293830f3b003b20d8361d01b27c13d;p=clang [lit] Fix running tests that require 'examples'. Differential Revision: https://reviews.llvm.org/D46514 Patch by Nikolai Kosjar. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331786 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg.py b/test/lit.cfg.py index 5323cfe735..a812cd1b47 100644 --- a/test/lit.cfg.py +++ b/test/lit.cfg.py @@ -63,6 +63,7 @@ tools = [ ] if config.clang_examples: + config.available_features.add('examples') tools.append('clang-interpreter') llvm_config.add_tool_substitutions(tools, tool_dirs)