From d657ad0d419ee30df45b04cbb63480d8a05d181b Mon Sep 17 00:00:00 2001 From: NATHALIE GORE Date: Tue, 6 Sep 2022 11:04:02 +0200 Subject: [PATCH] Tests - MEDREADER : PP / MDREADER : SP --- .../MEDReader/plugin/Test/CTestTestfileInstall.cmake | 10 +++++++++- src/Plugins/MEDReader/plugin/Test/tests.set | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Plugins/MEDReader/plugin/Test/CTestTestfileInstall.cmake b/src/Plugins/MEDReader/plugin/Test/CTestTestfileInstall.cmake index 874454c3..58f8587d 100644 --- a/src/Plugins/MEDReader/plugin/Test/CTestTestfileInstall.cmake +++ b/src/Plugins/MEDReader/plugin/Test/CTestTestfileInstall.cmake @@ -24,7 +24,15 @@ SET(TIMEOUT 60) set(BASELINE_DIR "Baseline") -FOREACH(tfile ${TEST_NUMBERS}) +FOREACH(tfile ${TEST_NUMBERS_WITHOUTRENDERING}) + SET(TEST_NAME MEDREADER_${tfile}) + ADD_TEST(${TEST_NAME} python testMEDReader${tfile}.py -B ${BASELINE_DIR}) + SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT}) +ENDFOREACH() + +SET(COMPONENT_NAME MDREADER) + +FOREACH(tfile ${TEST_NUMBERS_WITHRENDERING}) SET(TEST_NAME MEDREADER_${tfile}) ADD_TEST(${TEST_NAME} python testMEDReader${tfile}.py -B ${BASELINE_DIR}) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME};REQUIRE_X_SERVER" TIMEOUT ${TIMEOUT}) diff --git a/src/Plugins/MEDReader/plugin/Test/tests.set b/src/Plugins/MEDReader/plugin/Test/tests.set index fc8f9f05..34f3680e 100644 --- a/src/Plugins/MEDReader/plugin/Test/tests.set +++ b/src/Plugins/MEDReader/plugin/Test/tests.set @@ -29,4 +29,6 @@ # 11 and 12 have been willingly removed due to problem in image comparisons -SET(TEST_NUMBERS 0 1 2 3 4 6 7 8 9 10 13 14 15 16 17 18 19 20 21 22 23 24) +SET(TEST_NUMBERS_WITHOUTRENDERING 1 9 16 17 18 22 23 24) + +SET(TEST_NUMBERS_WITHRENDERING 0 2 3 4 6 7 8 10 13 14 15 19 20 21) -- 2.39.2