From 67b869218fd25c18d04c72c6476d5c5c1c1e014a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 3 Jun 2016 14:18:45 +0200 Subject: [PATCH] [autotest/wayland] Force kscreenlocker_greet to QMLSCENE_DEVICE softwarecontext OpenGL/EGL doesn't work on build.kde.org. Because of that the kscreenlocker_greet aborts on startup and we cannot really test whether it works on build.kde.org. E.g. we never actually see the window. This change just makes sure that QMLSCENE_DEVICE=softwarecontext is passed to the greeter in the LockScreenTest. Hopefully that fixes it on build.kde.org. --- autotests/wayland/lockscreen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/autotests/wayland/lockscreen.cpp b/autotests/wayland/lockscreen.cpp index 0aeaa7941a..170c27f673 100644 --- a/autotests/wayland/lockscreen.cpp +++ b/autotests/wayland/lockscreen.cpp @@ -206,6 +206,7 @@ void LockScreenTest::initTestCase() QCOMPARE(screens()->geometry(0), QRect(0, 0, 1280, 1024)); QCOMPARE(screens()->geometry(1), QRect(1280, 0, 1280, 1024)); setenv("QT_QPA_PLATFORM", "wayland", true); + setenv("QMLSCENE_DEVICE", "softwarecontext", true); waylandServer()->initWorkspace(); }