From d1dc20cbf66e68e9e6b5ba712438303dc97db8ec Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 19 Jul 2019 07:44:30 +0200 Subject: [PATCH] It s OK for MEDPartitioner tests --- src/MEDPartitioner/Test/CMakeLists.txt | 2 +- src/MEDPartitioner/Test/CTestTestfileInstall.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MEDPartitioner/Test/CMakeLists.txt b/src/MEDPartitioner/Test/CMakeLists.txt index b2717f279..1a15991e8 100644 --- a/src/MEDPartitioner/Test/CMakeLists.txt +++ b/src/MEDPartitioner/Test/CMakeLists.txt @@ -52,7 +52,7 @@ INSTALL(TARGETS TestMEDPARTITIONER DESTINATION ${MEDCOUPLING_INSTALL_BINS}) INSTALL(FILES ${MEDPARTITIONERTest_HEADERS_HXX} DESTINATION ${MEDCOUPLING_INSTALL_HEADERS}) SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) -ADD_TEST(TestMEDPARTITIONER TestMEDPARTITIONER) +ADD_TEST(TestMEDPARTITIONER ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../../MEDLoader/Test/MCTestLauncher.py ${CMAKE_CURRENT_BINARY_DIR}/TestMEDPARTITIONER) SET_TESTS_PROPERTIES(TestMEDPARTITIONER PROPERTIES ENVIRONMENT "${tests_env}") # Application tests diff --git a/src/MEDPartitioner/Test/CTestTestfileInstall.cmake b/src/MEDPartitioner/Test/CTestTestfileInstall.cmake index 044e8154f..9d84e1adf 100644 --- a/src/MEDPartitioner/Test/CTestTestfileInstall.cmake +++ b/src/MEDPartitioner/Test/CTestTestfileInstall.cmake @@ -23,7 +23,7 @@ SET(TEST_NAMES FOREACH(tfile ${TEST_NAMES}) SET(TEST_NAME ${COMPONENT_NAME}_${tfile}) - ADD_TEST(${TEST_NAME} ${tfile}) + ADD_TEST(${TEST_NAME} python ../MEDLoader/MCTestLauncher.py ${tfile}) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT} -- 2.39.2