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

Needs to start kscreenlocker_greet which needs EGL which we don't have.
This commit is contained in:
Martin Gräßlin 2016-06-07 10:03:12 +02:00
parent 0388ed02a6
commit 9d0360b3ef

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