From: rnv Date: Wed, 2 Apr 2014 15:05:44 +0000 (+0400) Subject: Correct test environment (PV_PLUGIN_PATH variable). X-Git-Tag: V7_4_0rc1~4^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fakl%2Ftests_update;p=modules%2Fparavis.git Correct test environment (PV_PLUGIN_PATH variable). --- diff --git a/test/VisuPrs/CMakeLists.txt b/test/VisuPrs/CMakeLists.txt index bb656b15..d5bd45e6 100644 --- a/test/VisuPrs/CMakeLists.txt +++ b/test/VisuPrs/CMakeLists.txt @@ -19,6 +19,15 @@ SET(TIMEOUT 10000) SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env) + +IF(NOT WIN32) + # Special case for the PV_PLUGIN_PATH environment variable: + # PV_PLUGIN_PATH=VAL_1;VAL_2;...;VAL_N + # But the ';' character is used as separator between variables (PATH, LD_LIBRARY_PATH, etc...) + # So we should shield a sequence ";/" by the '\' character. + STRING(REGEX REPLACE ";/" "\\\\;/" tests_env "${tests_env}") +ENDIF(NOT WIN32) + SET(PARAVIS_TEST_HELPER_FILE ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py) SET(TEST_DIRECTORIES