FOREACH(tfile ${ALL_TESTS})
GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
SET(TEST_NAME ${COMPONENT_NAME}_${BASE_NAME})
- ADD_TEST(${TEST_NAME} python ${tfile})
+ ADD_TEST(${TEST_NAME} python3 ${tfile})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}
FOREACH(tfile ${ALL_TESTS})
GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
SET(TEST_NAME ${COMPONENT_NAME}_${BASE_NAME})
- ADD_TEST(${TEST_NAME} python ${tfile})
+ ADD_TEST(${TEST_NAME} python3 ${tfile})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}
FOREACH(tfile ${ALL_TESTS})
GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
SET(TEST_NAME ${COMPONENT_NAME}_${BASE_NAME})
- ADD_TEST(${TEST_NAME} python ${tfile})
+ ADD_TEST(${TEST_NAME} python3 ${tfile})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}
FOREACH(tfile ${TEST_NAMES})
SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
- ADD_TEST(${TEST_NAME} python MCTestLauncher.py ${tfile})
+ ADD_TEST(${TEST_NAME} python3 MCTestLauncher.py ${tfile})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}
FOREACH(tfile ${TEST_NAMES})
SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
- ADD_TEST(${TEST_NAME} python ../MEDLoader/MCTestLauncher.py ${tfile})
+ ADD_TEST(${TEST_NAME} python3 ../MEDLoader/MCTestLauncher.py ${tfile})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}
CMAKE_PATH(APPEND PYTHONPATH "../../bin")
FOREACH(tfile ${TEST_NAMES})
SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
- ADD_TEST(${TEST_NAME} python ${tfile}.py)
+ ADD_TEST(${TEST_NAME} python3 ${tfile}.py)
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}
FOREACH(tfile ${BASE_TESTS})
GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
SET(TEST_NAME ${COMPONENT_NAME}_${BASE_NAME})
- ADD_TEST(${TEST_NAME} python ${tfile})
+ ADD_TEST(${TEST_NAME} python3 ${tfile})
SET_TESTS_PROPERTIES( ${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT} )
ENDFOREACH()
CMAKE_PATH(APPEND PYTHONPATH "../../bin")
FOREACH(tfile ${TEST_NAMES})
SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
- ADD_TEST(${TEST_NAME} python ${tfile}.py)
+ ADD_TEST(${TEST_NAME} python3 ${tfile}.py)
SET(TEST_ENVIRONMENT)
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
ENDFOREACH()
SET(TEST_NAME ${COMPONENT_NAME}_RENUMBER_Swig_MEDRenumberUserGuide)
-ADD_TEST(${TEST_NAME} python UsersGuideExamplesTest.py)
+ADD_TEST(${TEST_NAME} python3 UsersGuideExamplesTest.py)
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
LABELS "${COMPONENT_NAME}"
TIMEOUT ${TIMEOUT}