aboutsummaryrefslogtreecommitdiffstats
path: root/test/Unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/Unit')
-rw-r--r--test/Unit/lit.cfg8
-rw-r--r--test/Unit/lit.site.cfg.in1
2 files changed, 0 insertions, 9 deletions
diff --git a/test/Unit/lit.cfg b/test/Unit/lit.cfg
index 68ba0b3..04e8830 100644
--- a/test/Unit/lit.cfg
+++ b/test/Unit/lit.cfg
@@ -80,11 +80,3 @@ if config.test_exec_root is None:
lit_config.note('using out-of-tree build at %r' % llvm_obj_root)
lit_config.load_config(config, site_cfg)
raise SystemExit
-
-# If necessary, point the dynamic loader at libLLVM.so.
-if config.enable_shared:
- shlibpath = config.environment.get(config.shlibpath_var,'')
- if shlibpath:
- shlibpath = os.pathsep + shlibpath
- shlibpath = config.shlibdir + shlibpath
- config.environment[config.shlibpath_var] = shlibpath
diff --git a/test/Unit/lit.site.cfg.in b/test/Unit/lit.site.cfg.in
index 7ff8155..dd8de48 100644
--- a/test/Unit/lit.site.cfg.in
+++ b/test/Unit/lit.site.cfg.in
@@ -8,7 +8,6 @@ config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
config.llvm_build_mode = "@LLVM_BUILD_MODE@"
config.enable_shared = @ENABLE_SHARED@
config.shlibdir = "@SHLIBDIR@"
-config.shlibpath_var = "@SHLIBPATH_VAR@"
# Support substitution of the tools_dir and build_mode with user parameters.
# This is used when we can't determine the tool dir at configuration time.