https://bugs.kde.org/show_bug.cgi?id=427486
Bug ID: 427486 Summary: tests imported from CMake do not respect ENVIRONMENT properties Product: kdevelop Version: git master Platform: Compiled Sources OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Build tools: CMake Assignee: kdevelop-bugs-n...@kde.org Reporter: k...@opensource.sf-tec.de Target Milestone: --- Brute-force example code to give some hints is here: https://invent.kde.org/dakon/kdevelop/-/tree/ctest-env If one does this: add_test(NAME test_six COMMAND four_test 3 WORKING_DIRECTORY "/foo") set_property(TEST test_six PROPERTY ENVIRONMENT "foo=bar") then running the code via ctest will result in getenv("foo") == "bar", which when I run the same test using the "Unit test" pane it will be getenv("foo") == NULL. -- You are receiving this mail because: You are watching all bug changes.