D16939: Unset all env variables related to KDE session in integration tests
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin created this revision. graesslin added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. graesslin requested review of this revision. REVISION SUMMARY When running ctest in my session a few OpenGL/waylandonly tests crashed on tear down. This does neither happen on build.kde.org nor when running ctest in a tty. Comparing the env variables of tty and session pointed to the session variables. Unsetting those makes the test not crash. This makes sense as e.g. plasma-integration no longer gets loaded. As our test suite is intended to test KWin and not plasma-integration or gnome integration we should have a clean and reproducable environment, so the variables are unset. TEST PLAN 100% tests passed, 0 tests failed out of 130 REPOSITORY R108 KWin BRANCH no-session-in-tests REVISION DETAIL https://phabricator.kde.org/D16939 AFFECTED FILES autotests/integration/kwin_wayland_test.h To: graesslin, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart