Fix FadeTest and TranslucencyTest when started without install

Summary: Search in build dir for the effects.

Reviewers: #kwin

Differential Revision: https://phabricator.kde.org/D16683
remotes/origin/davidedmundson/hwcomposoer_mod
Martin Flöser 7 years ago
parent c36f9d2980
commit 43fc7f1bad
  1. 1
      autotests/integration/effects/fade_test.cpp
  2. 1
      autotests/integration/effects/translucency_test.cpp

@ -55,6 +55,7 @@ private:
void FadeTest::initTestCase()
{
qputenv("XDG_DATA_DIRS", QCoreApplication::applicationDirPath().toUtf8());
qRegisterMetaType<KWin::ShellClient*>();
qRegisterMetaType<KWin::AbstractClient*>();
qRegisterMetaType<KWin::Effect*>();

@ -54,6 +54,7 @@ private:
void TranslucencyTest::initTestCase()
{
qputenv("XDG_DATA_DIRS", QCoreApplication::applicationDirPath().toUtf8());
qRegisterMetaType<KWin::ShellClient*>();
qRegisterMetaType<KWin::AbstractClient*>();
qRegisterMetaType<KWin::Effect*>();

Loading…
Cancel
Save