summaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-10-15 13:51:13 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-10-15 13:51:13 +0000
commitc752440fb0a5d9cd4d2313e61ec423595bb08a67 (patch)
treec834e29e8840f06d2e84fc6f35317e858e9dab52 /test/lit.cfg
parent681157a8a950b61ac9b4ea0776d1f2fefab09ad9 (diff)
Tweak to make clang/test/Driver/ps4-linker-win.c less sinsitive of DLL path.
- On mingw-w64, libstdc++-6.dll is used for clang.exe. The DLL might not be in Windows' system directory. - With --enable-shared, DLLs might be in ${CMAKE_BINARY_DIR}/bin. I understand this test confirms that appropriate name of executable can be found on %PATH%. Therefore I added "Output\\" before each expression. FIXME: The output directory %T is hardcoded like "Output\\ps4-ld.exe". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 2e146191f1..dfdcf4a07c 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -206,6 +206,7 @@ if has_plugins and config.llvm_plugin_ext:
config.substitutions.append( ('%llvmshlibdir', config.llvm_shlib_dir) )
config.substitutions.append( ('%pluginext', config.llvm_plugin_ext) )
+config.substitutions.append( ('%PATH%', config.environment['PATH']) )
if config.clang_examples:
config.available_features.add('examples')