Fixed running the Python unit tests when building with the Intel compiler
This commit is contained in:
parent
692f1249ae
commit
4534819d1d
1 changed files with 4 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue