graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY KWin was quite good in ensuring that you don't need to install by passing paths to the tests. The new way is much nicer, so code is adjusted for the new way. Also if we require a newer ECM in future we need to support the new way. No guarantee that the tests don't pick something up from the system env, that needs more testing. Also I couldn't verify all tests, for unknown reasons my system refuses to run any OpenGL tests (that issue was already present before). References: https://community.kde.org/Guidelines_and_HOWTOs/Making_apps_run_uninstalled TEST PLAN The tests which loaded helpers pass REPOSITORY R108 KWin BRANCH autotests-ecm-in-dir REVISION DETAIL https://phabricator.kde.org/D7543 AFFECTED FILES CMakeLists.txt autotests/CMakeLists.txt autotests/integration/CMakeLists.txt autotests/integration/kwin_wayland_test.cpp autotests/integration/kwin_wayland_test.h autotests/integration/shell_client_test.cpp autotests/integration/xclipboardsync_test.cpp autotests/test_x11_timestamp_update.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas