D16737: Unset XKB_DEFAULT_* in tests to make tests better reproducable

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
  On one of my systems XKB_DEFAULT_LAYOUT is set to "de". This makes a few
  tests fail, e.g. pointer input and modifier only shortcuts.
  
  The reason is that those tests assume the xkb default layout behavior,
  that is how xkb functions without any layout being set. So having the
  env variable around influences the layout generation.
  
  To prevent this the environment variables are unset and thus a
  reproducable environment is created.

REPOSITORY
  R108 KWin

BRANCH
  unset-xkb-default-layout-in-tests

REVISION DETAIL
  https://phabricator.kde.org/D16737

AFFECTED FILES
  autotests/integration/kwin_wayland_test.cpp

To: graesslin, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.