[compiler-rt] r225932 - Another try at handling LD_LIBRARY_PATH not being defined.

Rafael Espindola rafael.espindola at gmail.com
Tue Jan 13 18:23:27 PST 2015


Author: rafael
Date: Tue Jan 13 20:23:27 2015
New Revision: 225932

URL: http://llvm.org/viewvc/llvm-project?rev=225932&view=rev
Log:
Another try at handling LD_LIBRARY_PATH not being defined.

Modified:
    compiler-rt/trunk/test/asan/Unit/lit.site.cfg.in

Modified: compiler-rt/trunk/test/asan/Unit/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/Unit/lit.site.cfg.in?rev=225932&r1=225931&r2=225932&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/Unit/lit.site.cfg.in (original)
+++ compiler-rt/trunk/test/asan/Unit/lit.site.cfg.in Tue Jan 13 20:23:27 2015
@@ -8,7 +8,7 @@ lit_config.load_config(config, "@COMPILE
 
 def push_ld_library_path(config, new_path):
   new_ld_library_path = os.path.pathsep.join(
-    (new_path, config.environment['LD_LIBRARY_PATH']))
+    (new_path, config.environment.get('LD_LIBRARY_PATH', '')))
   config.environment['LD_LIBRARY_PATH'] = new_ld_library_path
 
 # Setup config name.





More information about the llvm-commits mailing list