From 9d0360b3eff916d942bdb2eac86dd0de16ef6863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 7 Jun 2016 10:03:12 +0200 Subject: [PATCH] [autotests] Skip PlasmaWindowTest::testLockScreenNoPlasmaWindow on build.kde.org Needs to start kscreenlocker_greet which needs EGL which we don't have. --- autotests/wayland/plasmawindow_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autotests/wayland/plasmawindow_test.cpp b/autotests/wayland/plasmawindow_test.cpp index 4af3ef1b29..cd58d0e329 100644 --- a/autotests/wayland/plasmawindow_test.cpp +++ b/autotests/wayland/plasmawindow_test.cpp @@ -358,6 +358,9 @@ void PlasmaWindowTest::testPopupWindowNoPlasmaWindow() void PlasmaWindowTest::testLockScreenNoPlasmaWindow() { + if (!QFile::exists(QStringLiteral("/dev/dri/card0"))) { + QSKIP("Needs a dri device"); + } // this test verifies that lock screen windows are not exposed to PlasmaWindow QSignalSpy plasmaWindowCreatedSpy(m_windowManagement, &PlasmaWindowManagement::windowCreated); QVERIFY(plasmaWindowCreatedSpy.isValid());