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.

llvm-svn: 114186
This commit is contained in:
Duncan Sands 2010-09-17 17:05:27 +00:00
parent 00f1a67ad3
commit 922563cc6d
1 changed files with 1 additions and 0 deletions

View File

@ -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','')]),