From f51e5d7aca0776909d7e9de3c61a4412230ba052 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Thu, 8 Sep 2022 14:18:11 +0200 Subject: [PATCH] Remove tests that need a salome session. --- src/cpp/Test/CTestTestfileInstall.cmake | 22 ++-------------------- src/pyexample/CTestTestfileInstall.cmake | 6 ------ 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/src/cpp/Test/CTestTestfileInstall.cmake b/src/cpp/Test/CTestTestfileInstall.cmake index 2917d41..465bf3b 100644 --- a/src/cpp/Test/CTestTestfileInstall.cmake +++ b/src/cpp/Test/CTestTestfileInstall.cmake @@ -18,36 +18,18 @@ # SET(TEST_NAME ${COMPONENT_NAME}_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} ${SALOME_TEST_DRIVER} ${TIMEOUT} ./StudyGeneralTest) -SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES - LABELS "${COMPONENT_NAME}" - ) - -SET(TEST_NAME ${COMPONENT_NAME}_StudyRestartTest) -ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} ./StudyRestartTest) -SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES - LABELS "${COMPONENT_NAME}" - ) - -SET(TEST_NAME ${COMPONENT_NAME}_NoSession_SampleTest) ADD_TEST(${TEST_NAME} ./SampleTest) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" ) -SET(TEST_NAME ${COMPONENT_NAME}_NoSession_StudyGeneralTest) +SET(TEST_NAME ${COMPONENT_NAME}_StudyGeneralTest) ADD_TEST(${TEST_NAME} ./StudyGeneralTest) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" ) -SET(TEST_NAME ${COMPONENT_NAME}_NoSession_StudyRestartTest) +SET(TEST_NAME ${COMPONENT_NAME}_StudyRestartTest) ADD_TEST(${TEST_NAME} ./StudyRestartTest) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" diff --git a/src/pyexample/CTestTestfileInstall.cmake b/src/pyexample/CTestTestfileInstall.cmake index 1a8f035..d93938e 100644 --- a/src/pyexample/CTestTestfileInstall.cmake +++ b/src/pyexample/CTestTestfileInstall.cmake @@ -18,12 +18,6 @@ # SET(TEST_NAME ${COMPONENT_NAME}_PyExampleTest) -ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} ./runUnitTest.sh) -SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES - LABELS "${COMPONENT_NAME}" - ) - -SET(TEST_NAME ${COMPONENT_NAME}_NoSession_PyExampleTest) ADD_TEST(${TEST_NAME} ./runUnitTest.sh) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" -- 2.39.2