[llvm-commits] [llvm] r97796 - /llvm/trunk/utils/lit/lit/TestingConfig.py
Duncan Sands
baldrick at free.fr
Fri Mar 5 00:21:02 PST 2010
Author: baldrick
Date: Fri Mar 5 02:21:02 2010
New Revision: 97796
URL: http://llvm.org/viewvc/llvm-project?rev=97796&view=rev
Log:
If LD_LIBRARY_PATH is set in the system environment, use it.
Modified:
llvm/trunk/utils/lit/lit/TestingConfig.py
Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=97796&r1=97795&r2=97796&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Fri Mar 5 02:21:02 2010
@@ -10,6 +10,7 @@
if config is None:
# Set the environment based on the command line arguments.
environment = {
+ 'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''),
'PATH' : os.pathsep.join(litConfig.path +
[os.environ.get('PATH','')]),
'PATHEXT' : os.environ.get('PATHEXT',''),
More information about the llvm-commits
mailing list