[compiler-rt] r225919 - Handle LD_LIBRARY_PATH not being defined.
Rafael Espindola
rafael.espindola at gmail.com
Tue Jan 13 17:28:08 PST 2015
Author: rafael
Date: Tue Jan 13 19:28:08 2015
New Revision: 225919
URL: http://llvm.org/viewvc/llvm-project?rev=225919&view=rev
Log:
Handle LD_LIBRARY_PATH not being defined.
Should fix the bots after r225890.
Modified:
compiler-rt/trunk/test/asan/lit.cfg
Modified: compiler-rt/trunk/test/asan/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/lit.cfg?rev=225919&r1=225918&r2=225919&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/lit.cfg (original)
+++ compiler-rt/trunk/test/asan/lit.cfg Tue Jan 13 19:28:08 2015
@@ -19,7 +19,7 @@ def push_dynamic_library_lookup_path(con
dynamic_library_lookup_var = 'LD_LIBRARY_PATH'
new_ld_library_path = os.path.pathsep.join(
- (new_path, config.environment[dynamic_library_lookup_var]))
+ (new_path, config.environment.get(dynamic_library_lookup_var, '')))
config.environment[dynamic_library_lookup_var] = new_ld_library_path
# Setup config name.
More information about the llvm-commits
mailing list