diff options
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index e4a13054ba812..a5e8b9de994b1 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -284,6 +284,8 @@ if config.host_triple and config.host_triple != '@LLVM_HOST_TRIPLE@': else: config.substitutions.append( ('%target_itanium_abi_host_triple', '') ) +config.substitutions.append( ('%src_include_dir', config.clang_src_dir + '/include') ) + # FIXME: Find nicer way to prohibit this. config.substitutions.append( (' clang ', """*** Do not use 'clang' in tests, use '%clang'. ***""") ) |