]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
[EDF27859] : In salome test mechanism : explicit python executable.
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 7 Aug 2023 14:22:09 +0000 (16:22 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 7 Aug 2023 14:22:09 +0000 (16:22 +0200)
src/ICoCo/Swig/CTestTestfileInstall.cmake
src/MEDCoupling_Swig/CTestTestfileInstall.cmake
src/MEDLoader/Swig/CTestTestfileInstall.cmake
src/MEDLoader/Test/CTestTestfileInstall.cmake
src/MEDPartitioner/Test/CTestTestfileInstall.cmake
src/MEDPartitioner_Swig/CTestTestfileInstall.cmake
src/PyWrapping/CTestTestfileInstall.cmake
src/RENUMBER_Swig/CTestTestfileInstall.cmake

index 45e4db1612d87012fc52b1067308b8d55d900747..e915d1a9f4adad5ffa958f229be4007521017470 100644 (file)
@@ -22,7 +22,7 @@ INCLUDE(tests.set)
 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}
index 45e4db1612d87012fc52b1067308b8d55d900747..e915d1a9f4adad5ffa958f229be4007521017470 100644 (file)
@@ -22,7 +22,7 @@ INCLUDE(tests.set)
 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}
index 45e4db1612d87012fc52b1067308b8d55d900747..e915d1a9f4adad5ffa958f229be4007521017470 100644 (file)
@@ -22,7 +22,7 @@ INCLUDE(tests.set)
 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}
index fae1c531e076b2f37653f5b0aa4ebc030070fe28..23ecd4a7233908a27e1cbec2bf55e80e0b532a37 100644 (file)
@@ -23,7 +23,7 @@ SET(TEST_NAMES
 
 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}
index e514f69b803ae26562d44f9e138851572caa3df3..53c3eb31d25c835a87bdeb63665a0a4f5657a42f 100644 (file)
@@ -23,7 +23,7 @@ SET(TEST_NAMES
 
 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}
index a457eec59cecc26342962b5b580e6a8c28769ba5..d361cfbb87e7540e96fe27fe8284980564a820e6 100644 (file)
@@ -25,7 +25,7 @@ SET(PYTHONPATH $ENV{PYTHONPATH})
 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}
index 26554b9d13eaef03023510a2b3ef3b13a2248b73..ee85aa9183d7a32f4012d8abf81525651db0480e 100644 (file)
@@ -22,6 +22,6 @@ INCLUDE(tests.set)
 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()
index 97606733e8b3510de6e63b0f0decc1466b711449..6738723f9c1c8571804cda399b12f33d0e38d955 100644 (file)
@@ -25,7 +25,7 @@ SET(PYTHONPATH $ENV{PYTHONPATH})
 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}"
@@ -35,7 +35,7 @@ FOREACH(tfile ${TEST_NAMES})
 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}