From 70d0cde1dc6f08563bcb4d786166ac261f32e1e1 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 20 May 2020 14:49:32 -0500 Subject: [PATCH] contrib/python_wrapper: set environment correctly --- contrib/python-bindings/tests/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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() -- 2.39.5