From abd790c4b513e27f89cd8ee4b22142e9534470bc Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 10 Jul 2024 23:41:20 +0300 Subject: [PATCH] autotests: Skip testScreencasting in CI pipewire 1.2 has a known regression where the client's process callback will not be triggered if the producer has sent only one buffer. The issue has already been fixed upstream https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/525360d70ab1698afaaaf20f7e58002b8756353f Until our CI picks up that change, temporarily disable the test to unblock merging patches. --- autotests/integration/screencasting_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autotests/integration/screencasting_test.cpp b/autotests/integration/screencasting_test.cpp index 600ab6524b..e1422e2eb3 100644 --- a/autotests/integration/screencasting_test.cpp +++ b/autotests/integration/screencasting_test.cpp @@ -87,6 +87,10 @@ private: void ScreencastingTest::init() { + if (qgetenv("KDECI_BUILD") == "TRUE") { + QSKIP("CI has pipewire 1.2 that has known process callback issues"); // TODO: Remove it later when CI ships pipewire 1.2 with the fix + } + QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::ScreencastingV1)); QVERIFY(KWin::Test::screencasting()); Cursors::self()->hideCursor();