[autotests] Disable Outline in StrutsTest
The StrutsTest is constantly aborting on build.kde.org and lots of OpenGL stuff in output. This could indicate a problem with the Outline as the failing test could trigger the Outline. So let's try to disable it.icc-effect-5.14.5
parent
8794fe548a
commit
af9f833a1d
|
@ -77,6 +77,14 @@ void StrutsTest::initTestCase()
|
|||
QMetaObject::invokeMethod(kwinApp()->platform(), "setOutputCount", Qt::DirectConnection, Q_ARG(int, 2));
|
||||
QVERIFY(waylandServer()->init(s_socketName.toLocal8Bit()));
|
||||
|
||||
// set custom config which disables the Outline
|
||||
KSharedConfig::Ptr config = KSharedConfig::openConfig(QString(), KConfig::SimpleConfig);
|
||||
KConfigGroup group = config->group("Outline");
|
||||
group.writeEntry(QStringLiteral("QmlPath"), QString("/does/not/exist.qml"));
|
||||
group.sync();
|
||||
|
||||
kwinApp()->setConfig(config);
|
||||
|
||||
kwinApp()->start();
|
||||
QVERIFY(workspaceCreatedSpy.wait());
|
||||
QCOMPARE(screens()->count(), 2);
|
||||
|
|
Loading…
Reference in New Issue