llvm.org GIT mirror llvm / f8be6fb
Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. This makes unittests run with BUILD_SHARED_LIBS on DLL platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212316 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3333 for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
3434 if symbolizer in os.environ:
3535 config.environment[symbolizer] = os.environ[symbolizer]
36
37 # Win32 seeks DLLs along %PATH%.
38 if sys.platform in ['win32', 'cygwin'] and os.path.isdir(config.shlibdir):
39 config.environment['PATH'] = os.path.pathsep.join((
40 config.shlibdir, config.environment['PATH']))
3641
3742 ###
3843