[PATCH] D46514: [lit] Fix running tests that require 'examples'

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 11:26:30 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL331786: [lit] Fix running tests that require 'examples'. (authored by zturner, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D46514?vs=145431&id=145737#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D46514

Files:
  cfe/trunk/test/lit.cfg.py


Index: cfe/trunk/test/lit.cfg.py
===================================================================
--- cfe/trunk/test/lit.cfg.py
+++ cfe/trunk/test/lit.cfg.py
@@ -63,6 +63,7 @@
 ]
 
 if config.clang_examples:
+    config.available_features.add('examples')
     tools.append('clang-interpreter')
 
 llvm_config.add_tool_substitutions(tools, tool_dirs)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46514.145737.patch
Type: text/x-patch
Size: 353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180508/53e6f8b7/attachment.bin>


More information about the llvm-commits mailing list