Commit f6c8db32 authored by Volker Krause's avatar Volker Krause
Browse files

Disable KF5::WaylandServer based tests for Qt6 build

KF5::WaylandServer has been merged into KWin and doesn't exist anymore
in KF6.

Actually porting those tests would be much preferred of course, but as
this is now the last blocker on the way to get plasma-workspace covered
by the Qt6 CI it seems like an acceptable shortcut.
parent 6c3140b7
Pipeline #207463 passed with stage
in 3 minutes and 25 seconds
......@@ -4,3 +4,4 @@
include:
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
......@@ -25,6 +25,11 @@ kscreen_add_test(testlog)
kscreen_add_test(testmodelistchange)
kscreen_add_test(testedid)
if (NOT TARGET KF5::WaylandServer)
message(WARNING "Skipping KF5::WaylandServer based unit tests!")
return()
endif()
set(KSCREEN_WAYLAND_LIBS
KF5::WaylandServer KF5::WaylandClient
)
......
if (NOT TARGET KF5::WaylandServer)
message(WARNING "Skipping KF5::WaylandServer based tests!")
return()
endif()
add_definitions(-DTEST_DATA="${CMAKE_SOURCE_DIR}/autotests/configs/")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment