From 43fc7f1badebf335f6933123e7aca9efef4c2c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Mon, 5 Nov 2018 14:18:15 +0100 Subject: [PATCH] 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 --- autotests/integration/effects/fade_test.cpp | 1 + autotests/integration/effects/translucency_test.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/autotests/integration/effects/fade_test.cpp b/autotests/integration/effects/fade_test.cpp index cdc5f0d991..d3e0788182 100644 --- a/autotests/integration/effects/fade_test.cpp +++ b/autotests/integration/effects/fade_test.cpp @@ -55,6 +55,7 @@ private: void FadeTest::initTestCase() { + qputenv("XDG_DATA_DIRS", QCoreApplication::applicationDirPath().toUtf8()); qRegisterMetaType(); qRegisterMetaType(); qRegisterMetaType(); diff --git a/autotests/integration/effects/translucency_test.cpp b/autotests/integration/effects/translucency_test.cpp index 0a6c7506b8..15b3461fff 100644 --- a/autotests/integration/effects/translucency_test.cpp +++ b/autotests/integration/effects/translucency_test.cpp @@ -54,6 +54,7 @@ private: void TranslucencyTest::initTestCase() { + qputenv("XDG_DATA_DIRS", QCoreApplication::applicationDirPath().toUtf8()); qRegisterMetaType(); qRegisterMetaType(); qRegisterMetaType();