summaryrefslogtreecommitdiffstats
path: root/test/lit.cfg.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-05-08 18:20:10 +0000
committerZachary Turner <zturner@google.com>2018-05-08 18:20:10 +0000
commit22d36a3a09293830f3b003b20d8361d01b27c13d (patch)
treee8ecbbffeb752c29bfa8c9f2b4cff0257a06837d /test/lit.cfg.py
parent5e9ecae5b33f0125ad4a1e663e840cbfe98835be (diff)
[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
Diffstat (limited to 'test/lit.cfg.py')
-rw-r--r--test/lit.cfg.py1
1 files changed, 1 insertions, 0 deletions
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)