diff options
author | Duncan Sands <baldrick@free.fr> | 2010-09-17 17:05:27 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-09-17 17:05:27 +0000 |
commit | 7201c9f1f12a91bad33311be0e812ce3cd924799 (patch) | |
tree | 126597f12a8f3bcf1b9ee5e3e904f0c11cbc6586 /utils/lit | |
parent | f3f95c9274d80ef62ab955ed0e73684f64b8c9bf (diff) | |
download | external_llvm-7201c9f1f12a91bad33311be0e812ce3cd924799.zip external_llvm-7201c9f1f12a91bad33311be0e812ce3cd924799.tar.gz external_llvm-7201c9f1f12a91bad33311be0e812ce3cd924799.tar.bz2 |
Some of the tests build an executable with llvm-gcc. For this to work, llvm-gcc
needs to find some libraries, which may require searching the directories given
by LIBRARY_PATH on curiously configured systems. So pass on LIBRARY_PATH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/TestingConfig.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index 5c1b273..440375a 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -10,6 +10,7 @@ class TestingConfig: if config is None: # Set the environment based on the command line arguments. environment = { + 'LIBRARY_PATH' : os.environ.get('LIBRARY_PATH',''), 'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''), 'PATH' : os.pathsep.join(litConfig.path + [os.environ.get('PATH','')]), |