]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
It s OK for MEDPartitioner tests
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 19 Jul 2019 05:44:30 +0000 (07:44 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 19 Jul 2019 05:44:30 +0000 (07:44 +0200)
src/MEDPartitioner/Test/CMakeLists.txt
src/MEDPartitioner/Test/CTestTestfileInstall.cmake

index b2717f27923879129f12e2a19e2c1aa49be51cbc..1a15991e8600f1a2e2b291b22bac807bc3136765 100644 (file)
@@ -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
index 044e8154f7c9d9b1d5d5da0ece76ece01a3a85d0..9d84e1adfda555e908c820244c8a8be673e55eaf 100644 (file)
@@ -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}