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 | 922563cc6d902227c559cb67de04f32a5e8adbda (patch) | |
| tree | 00eff117e0535f628d644a4ae83d36c916a78f38 | |
| parent | 00f1a67ad31c9abd165ee31094075b484604faab (diff) | |
| download | bcm5719-llvm-922563cc6d902227c559cb67de04f32a5e8adbda.tar.gz bcm5719-llvm-922563cc6d902227c559cb67de04f32a5e8adbda.zip | |
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
| -rw-r--r-- | llvm/utils/lit/lit/TestingConfig.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/lit/lit/TestingConfig.py b/llvm/utils/lit/lit/TestingConfig.py index 5c1b2739485..440375a588b 100644 --- a/llvm/utils/lit/lit/TestingConfig.py +++ b/llvm/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','')]), |

