From 4534819d1d5203ec26e18c047d4d7af343b0fb51 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 7 Mar 2012 00:52:00 +0000 Subject: [PATCH] Fixed running the Python unit tests when building with the Intel compiler --- test/SConscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/SConscript b/test/SConscript index f03791a4e..f39b5400e 100644 --- a/test/SConscript +++ b/test/SConscript @@ -11,6 +11,10 @@ localenv.Append(CPPPATH=['#ext/gtest/include', '#include'], localenv['ENV']['PYTHONPATH'] = Dir('#interfaces/python').abspath localenv['ENV']['CANTERA_DATA'] = Dir('#data/inputs').abspath +# Needed for Intel runtime libraries when compiling with ICC +if 'LD_LIBRARY_PATH' in os.environ: + localenv['ENV']['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH'] + def testRunner(target, source, env): """SCons Action to run a compiled test program""" program = source[0]