summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-09-17 17:05:27 +0000
committerDuncan Sands <baldrick@free.fr>2010-09-17 17:05:27 +0000
commit7201c9f1f12a91bad33311be0e812ce3cd924799 (patch)
tree126597f12a8f3bcf1b9ee5e3e904f0c11cbc6586 /utils
parentf3f95c9274d80ef62ab955ed0e73684f64b8c9bf (diff)
downloadllvm-7201c9f1f12a91bad33311be0e812ce3cd924799.tar.gz
llvm-7201c9f1f12a91bad33311be0e812ce3cd924799.tar.bz2
llvm-7201c9f1f12a91bad33311be0e812ce3cd924799.tar.xz
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')
-rw-r--r--utils/lit/lit/TestingConfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py
index 5c1b273948..440375a588 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','')]),