diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-01-14 02:23:27 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-01-14 02:23:27 +0000 |
commit | 77cbd97773393c91f10d927f8f1cb9e71a7ec7b1 (patch) | |
tree | b8098e4b78015f43950cab6583d69662fc967018 | |
parent | 4889c0fff363a78531b3f02386b21074290cf4a6 (diff) | |
download | compiler-rt-77cbd97773393c91f10d927f8f1cb9e71a7ec7b1.tar.gz |
Another try at handling LD_LIBRARY_PATH not being defined.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@225932 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/asan/Unit/lit.site.cfg.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/Unit/lit.site.cfg.in b/test/asan/Unit/lit.site.cfg.in index a3549758c..b5991023e 100644 --- a/test/asan/Unit/lit.site.cfg.in +++ b/test/asan/Unit/lit.site.cfg.in @@ -8,7 +8,7 @@ lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.un 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. |