From 7201c9f1f12a91bad33311be0e812ce3cd924799 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 17 Sep 2010 17:05:27 +0000 Subject: 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 --- utils/lit/lit/TestingConfig.py | 1 + 1 file changed, 1 insertion(+) (limited to 'utils') 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','')]), -- cgit v1.2.3