Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix system:python-dir-plugin-test
  • Loading branch information
pstorz committed Jan 31, 2020
1 parent 3647572 commit 38c9cbe
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions systemtests/CMakeLists.txt
Expand Up @@ -186,6 +186,19 @@ macro(handle_python_plugin_modules test_name)
)
endforeach()

foreach(PYMODULE ${DIR_PYMODULES_TO_LINK_TO_SRC})
get_filename_component(PYMODULE_NAME ${PYMODULE} NAME)
if(RUN_SYSTEMTESTS_ON_INSTALLED_FILES)
set(ORIGINAL_FILE ${python_plugin_module_src_dir}/${PYMODULE})
else()
set(ORIGINAL_FILE ${python_plugin_module_src_dir}/dird/${PYMODULE})
endif()
create_symlink(
${ORIGINAL_FILE} ${python_plugin_module_src_test_dir}/${PYMODULE_NAME}
)
endforeach()


foreach(PYMODULE ${FD_PYMODULES_TO_LINK_TO_SRC})
get_filename_component(PYMODULE_NAME ${PYMODULE} NAME)
if(RUN_SYSTEMTESTS_ON_INSTALLED_FILES)
Expand Down

0 comments on commit 38c9cbe

Please sign in to comment.