Dear Kai, I fixed the issue in dune-common. After pulling the new version everything should work again.
Best wishes Timo On 17. Jan 2020, at 18:53, Kilian Weishaupt <kilian.weisha...@iws.uni-stuttgart.de<mailto:kilian.weisha...@iws.uni-stuttgart.de>> wrote: Hello Kai, this error is actually related to a recent change in dune-common: https://gitlab.dune-project.org/core/dune-common/issues/183 You have two possibilities to fix it: 1.) Check out the dune 2.7 releases, or 2.) Change line 393 in dune-common/cmake/modules/DuneTestMacros.cmake from set(ACTUAL_TESTCOMMAND "$<TARGET_FILE:${ADDTEST_COMMAND}>") to set(ACTUAL_TESTCOMMAND ${CMAKE_CURRENT_BINARY_DIR}/${ADDTEST_NAME}) Best regards Kilian On 01/09/2020 04:00 PM, Kai Wendel wrote: Hello, when I want to run dunecontrol with the latest dumux version I get the following error messages at the end: -- Configuring done CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/io/gridmanager/CMakeLists.txt:74 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/multidomain/boundary/darcydarcy/1p_1p/CMakeLists.txt:12 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/multidomain/boundary/darcydarcy/1p_2p/CMakeLists.txt:1 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:./test_1p_convergence_tpfa<file:///test_1p_convergence_tpfa>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/convergence/CMakeLists.txt:12 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:./test_1p_convergence_tpfa<file:///test_1p_convergence_tpfa>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/convergence/CMakeLists.txt:20 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:./test_1p_convergence_box<file:///test_1p_convergence_box>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/convergence/CMakeLists.txt:28 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:./test_1p_convergence_box<file:///test_1p_convergence_box>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/convergence/CMakeLists.txt:36 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/periodicbc/CMakeLists.txt:11 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/periodicbc/CMakeLists.txt:21 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/periodicbc/CMakeLists.txt:32 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/periodicbc/CMakeLists.txt:43 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:./test_1p_gstat<file:///test_1p_gstat>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/1p/implicit/isothermal/CMakeLists.txt:48 (dumux_add_test) CMake Error at /temp/kaiw/DUMUX/dune-common/cmake/modules/DuneTestMacros.cmake:398 (_add_test): Error evaluating generator expression: $<TARGET_FILE:/temp/kaiw/DUMUX/dumux/bin/testing/runtest.py<file:///temp/kaiw/DUMUX/dumux/bin/testing/runtest.py>> Expression syntax not recognized. Call Stack (most recent call first): cmake/modules/DumuxTestMacros.cmake:245 (dune_add_test) test/porousmediumflow/2p/implicit/cornerpoint/CMakeLists.txt:4 (dumux_add_test) -- Generating done -- Build files have been written to: /temp/kaiw/DUMUX/dumux/build-cmake --- Failed to build dumux --- I also tried to use older commits but the problem remains the same. It seems like it is a problem of dune-common. Best regards, Kai _______________________________________________ Dumux mailing list Dumux@listserv.uni-stuttgart.de<mailto:Dumux@listserv.uni-stuttgart.de> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Kilian Weishaupt M.Sc. Institut für Wasser- und Umweltsystemmodellierung (IWS) Lehrstuhl für Hydromechanik und Hydrosystemmodellierung Universität Stuttgart, Pfaffenwaldring 61, 70569 Stuttgart Email: kilian.weisha...@iws.uni-stuttgart.de<mailto:kilian.weisha...@iws.uni-stuttgart.de> Telefon: 0049 711 685-60461 ** fax: 0049-711-685-60430 http://www.hydrosys.uni-stuttgart.de<http://www.hydrosys.uni-stuttgart.de/> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% _______________________________________________ Dumux mailing list Dumux@listserv.uni-stuttgart.de<mailto:Dumux@listserv.uni-stuttgart.de> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________ Dumux mailing list Dumux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux