From: Ovidiu Mircescu Date: Thu, 2 Apr 2020 15:13:57 +0000 (+0200) Subject: Fix salome test when both py2 & py3 are available. X-Git-Tag: V9_6_0a2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=011cf66d5ce616655e2b10d59e1f1b0f4e8b0970;p=tools%2Fydefx.git Fix salome test when both py2 & py3 are available. --- diff --git a/src/cpp/Test/CTestTestfileInstall.cmake b/src/cpp/Test/CTestTestfileInstall.cmake index 10fede5..2917d41 100644 --- a/src/cpp/Test/CTestTestfileInstall.cmake +++ b/src/cpp/Test/CTestTestfileInstall.cmake @@ -18,19 +18,19 @@ # SET(TEST_NAME ${COMPONENT_NAME}_SampleTest) -ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ./SampleTest) +ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} ./SampleTest) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" ) SET(TEST_NAME ${COMPONENT_NAME}_StudyGeneralTest) -ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ./StudyGeneralTest) +ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} ./StudyGeneralTest) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" ) SET(TEST_NAME ${COMPONENT_NAME}_StudyRestartTest) -ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ./StudyRestartTest) +ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} ./StudyRestartTest) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" ) diff --git a/src/pyexample/CTestTestfileInstall.cmake b/src/pyexample/CTestTestfileInstall.cmake index 6362ad6..1a8f035 100644 --- a/src/pyexample/CTestTestfileInstall.cmake +++ b/src/pyexample/CTestTestfileInstall.cmake @@ -18,7 +18,7 @@ # SET(TEST_NAME ${COMPONENT_NAME}_PyExampleTest) -ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ./runUnitTest.sh) +ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} ./runUnitTest.sh) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" )