Roll back the shared library, r96559. It broke two darwins and arm, mysteriously.
[oota-llvm.git] / test / Unit / lit.cfg
index 5fe07324a1ba1feda21a023b3cba9d5f79bc75a8..34372bb6cbe9381c519c0f96f9ccdb512b75f8a8 100644 (file)
@@ -23,14 +23,7 @@ config.test_format = lit.formats.GoogleTest(llvm_build_mode, 'Tests')
 
 ###
 
-# If necessary, point the dynamic loader at libLLVM.so.
-if config.enable_shared:
-    libdir = os.path.join(config.llvm_obj_root, config.llvm_build_mode, 'lib')
-    shlibpath = config.environment.get(config.shlibpath_var,'')
-    if shlibpath:
-        shlibpath = ':' + shlibpath
-    shlibpath = libdir + shlibpath
-    config.environment[config.shlibpath_var] = shlibpath
+import os
 
 # Check that the object root is known.
 if config.test_exec_root is None: