Skip to content

Commit

Permalink
refs #6667 Another attempt to set search path for python test
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jul 5, 2013
1 parent 6257183 commit da8b254
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ set ( TEST_PY_FILES
if (PYUNITTEST_FOUND)
pyunittest_add_test ( ${CMAKE_CURRENT_SOURCE_DIR}/test PythonScriptsTest ${TEST_PY_FILES} )
# Trying to add tested modules to python system path
set (PYTHON_LIBRARY ${PYTHON_LIBRARY} ${CMAKE_CURRENT_SOURCE_DIR}/Inelastic )

set (ENV{PYTHONPATH} "ENV{PYTHONPATH} ${CMAKE_CURRENT_SOURCE_DIR}/Inelastic" )
endif ()

# Ensure we don't get stale pyc files around
Expand Down

0 comments on commit da8b254

Please sign in to comment.