diff options
Diffstat (limited to 'sci-libs/oce/files')
-rw-r--r-- | sci-libs/oce/files/oce-0.18.3-test-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/oce/files/oce-0.18.3-test-fix.patch b/sci-libs/oce/files/oce-0.18.3-test-fix.patch new file mode 100644 index 000000000000..bec55d9d36b4 --- /dev/null +++ b/sci-libs/oce/files/oce-0.18.3-test-fix.patch @@ -0,0 +1,13 @@ +diff --git a/test/OCAFExport_test/CMakeLists.txt b/test/OCAFExport_test/CMakeLists.txt +index f81798a3a4..8d9f6ad86c 100644 +--- a/test/OCAFExport_test/CMakeLists.txt ++++ b/test/OCAFExport_test/CMakeLists.txt +@@ -5,6 +5,6 @@ if (OCE_OCAF AND NOT OCE_DISABLE_X11) + file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../src/StdResource" BuildPluginDir) + # Semi-colon is a delimiter in SET_TESTS_PROPERTIES and have to be escaped + string(REPLACE ";" "\\;" BuildPluginDir "${BuildPluginDir}") +- set_tests_properties(OCAFExportTestSuite.testExportAscii PROPERTIES ENVIRONMENT "CSF_PluginDefaults=${BuildPluginDir};CSF_StandardDefaults=${BuildPluginDir}") +- set_tests_properties(OCAFExportTestSuite.testExportNonAscii PROPERTIES ENVIRONMENT "CSF_PluginDefaults=${BuildPluginDir};CSF_StandardDefaults=${BuildPluginDir}") ++ set_tests_properties(OCAFExportTestSuite.testExportAscii PROPERTIES ENVIRONMENT "CSF_PluginDefaults=${BuildPluginDir};CSF_StandardDefaults=${BuildPluginDir};LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${LIBRARY_OUTPUT_PATH}") ++ set_tests_properties(OCAFExportTestSuite.testExportNonAscii PROPERTIES ENVIRONMENT "CSF_PluginDefaults=${BuildPluginDir};CSF_StandardDefaults=${BuildPluginDir};LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${LIBRARY_OUTPUT_PATH}") + endif () |