[autotests] Skip PlasmaWindowTest::testLockScreenNoPlasmaWindow on build.kde.org

Needs to start kscreenlocker_greet which needs EGL which we don't have.
icc-effect-5.14.5
Martin Gräßlin 2016-06-07 10:03:12 +02:00
parent 0388ed02a6
commit 9d0360b3ef
1 changed files with 3 additions and 0 deletions

View File

@ -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());