]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
With salome test support
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 19 Jul 2019 05:20:18 +0000 (07:20 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 19 Jul 2019 05:20:18 +0000 (07:20 +0200)
src/MEDLoader/Test/CMakeLists.txt
src/MEDLoader/Test/CTestTestfileInstall.cmake

index f8763d273f4f4e3dee5b02dfc8ad4e9543e4991c..b86cba0eed5aa7c3cc3b4f78ff7ec6c425f5a5bf 100644 (file)
@@ -58,12 +58,11 @@ FOREACH(test ${BASE_TESTS})
   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}
index 172b9a9b1c95f55191661862e8e7855edab966dc..6ff453f17df0d81a6bd252229916d93f55e18993 100644 (file)
@@ -24,7 +24,7 @@ SET(TEST_NAMES
 
 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}