From: Matthias Maier Date: Wed, 20 May 2020 19:49:32 +0000 (-0500) Subject: contrib/python_wrapper: set environment correctly X-Git-Tag: v9.3.0-rc1~1602^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10289%2Fhead;p=dealii.git contrib/python_wrapper: set environment correctly --- diff --git a/contrib/python-bindings/tests/CMakeLists.txt b/contrib/python-bindings/tests/CMakeLists.txt index a9187973f1..a54c8a3f70 100644 --- a/contrib/python-bindings/tests/CMakeLists.txt +++ b/contrib/python-bindings/tests/CMakeLists.txt @@ -25,9 +25,7 @@ FOREACH(_test_path ${_tests}) GET_FILENAME_COMPONENT(_test_directory ${_test_path} DIRECTORY) ADD_TEST(NAME python-bindings/${_test} COMMAND ${PYTHON_EXECUTABLE} ${_test_path}) SET_TESTS_PROPERTIES(python-bindings/${_test} PROPERTIES ENVIRONMENT - PYTHONPATH=${CMAKE_BINARY_DIR}/${DEAL_II_PYTHON_RELDIR}/../:$ENV{PYTHONPATH} - ENVIRONMENT - DEAL_II_PYTHON_TESTPATH=${_test_directory} + "PYTHONPATH=${CMAKE_BINARY_DIR}/${DEAL_II_PYTHON_RELDIR}/../:$ENV{PYTHONPATH};DEAL_II_PYTHON_TESTPATH=${_test_directory}" ) ENDFOREACH()