From 333dc8968c0cc9dfeb4373362726864c8b3604f7 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 30 Nov 2021 11:33:31 +0300 Subject: [PATCH] Fix failed test --- .../VoroGauss/{ => plugin}/Test/CMakeLists.txt | 2 +- .../{ => plugin}/Test/CTestTestfileInstall.cmake | 0 src/Plugins/VoroGauss/{ => plugin}/Test/PG_3D.med | Bin .../VoroGauss/{ => plugin}/Test/testMEDReader14.med | Bin .../VoroGauss/{ => plugin}/Test/test_VoroGauss.py | 0 src/Plugins/VoroGauss/{ => plugin}/Test/tests.set | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename src/Plugins/VoroGauss/{ => plugin}/Test/CMakeLists.txt (95%) rename src/Plugins/VoroGauss/{ => plugin}/Test/CTestTestfileInstall.cmake (100%) rename src/Plugins/VoroGauss/{ => plugin}/Test/PG_3D.med (100%) rename src/Plugins/VoroGauss/{ => plugin}/Test/testMEDReader14.med (100%) rename src/Plugins/VoroGauss/{ => plugin}/Test/test_VoroGauss.py (100%) rename src/Plugins/VoroGauss/{ => plugin}/Test/tests.set (100%) diff --git a/src/Plugins/VoroGauss/Test/CMakeLists.txt b/src/Plugins/VoroGauss/plugin/Test/CMakeLists.txt similarity index 95% rename from src/Plugins/VoroGauss/Test/CMakeLists.txt rename to src/Plugins/VoroGauss/plugin/Test/CMakeLists.txt index 07775755..f858747f 100644 --- a/src/Plugins/VoroGauss/Test/CMakeLists.txt +++ b/src/Plugins/VoroGauss/plugin/Test/CMakeLists.txt @@ -24,7 +24,7 @@ SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) FOREACH(tfile ${TEST_NAMES}) SET(TEST_NAME ${COMPONENT_NAME}_${tfile}) - ADD_TEST(${TEST_NAME} python ${tfile}.py) + ADD_TEST(${TEST_NAME} python ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}") ENDFOREACH() diff --git a/src/Plugins/VoroGauss/Test/CTestTestfileInstall.cmake b/src/Plugins/VoroGauss/plugin/Test/CTestTestfileInstall.cmake similarity index 100% rename from src/Plugins/VoroGauss/Test/CTestTestfileInstall.cmake rename to src/Plugins/VoroGauss/plugin/Test/CTestTestfileInstall.cmake diff --git a/src/Plugins/VoroGauss/Test/PG_3D.med b/src/Plugins/VoroGauss/plugin/Test/PG_3D.med similarity index 100% rename from src/Plugins/VoroGauss/Test/PG_3D.med rename to src/Plugins/VoroGauss/plugin/Test/PG_3D.med diff --git a/src/Plugins/VoroGauss/Test/testMEDReader14.med b/src/Plugins/VoroGauss/plugin/Test/testMEDReader14.med similarity index 100% rename from src/Plugins/VoroGauss/Test/testMEDReader14.med rename to src/Plugins/VoroGauss/plugin/Test/testMEDReader14.med diff --git a/src/Plugins/VoroGauss/Test/test_VoroGauss.py b/src/Plugins/VoroGauss/plugin/Test/test_VoroGauss.py similarity index 100% rename from src/Plugins/VoroGauss/Test/test_VoroGauss.py rename to src/Plugins/VoroGauss/plugin/Test/test_VoroGauss.py diff --git a/src/Plugins/VoroGauss/Test/tests.set b/src/Plugins/VoroGauss/plugin/Test/tests.set similarity index 100% rename from src/Plugins/VoroGauss/Test/tests.set rename to src/Plugins/VoroGauss/plugin/Test/tests.set -- 2.39.2