SET_TESTS_PROPERTIES(${test} PROPERTIES ENVIRONMENT "${tests_env}")
ENDFOREACH()
-INSTALL(FILES MCTestLauncher.py DESTINATION ${MEDCOUPLING_INSTALL_PYTHON})
-
# Application tests
SET(TEST_INSTALL_DIRECTORY ${MEDCOUPLING_INSTALL_TESTS}/MEDLoader)
INSTALL(TARGETS TestMEDLoader TestSauvLoader DESTINATION ${TEST_INSTALL_DIRECTORY})
+INSTALL(FILES MCTestLauncher.py DESTINATION ${TEST_INSTALL_DIRECTORY})
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${TEST_INSTALL_DIRECTORY}
FOREACH(tfile ${TEST_NAMES})
SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
- ADD_TEST(${TEST_NAME} ${tfile})
+ ADD_TEST(${TEST_NAME} python MCTestLauncher.py ${tfile})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}