From 63aeaab24e57746ffee8ed6a72877c485fb4a199 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 2 Apr 2014 19:05:44 +0400 Subject: [PATCH] Correct test environment (PV_PLUGIN_PATH variable). --- test/VisuPrs/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.2