2014-09-17 11:24:51 +00:00
|
|
|
########################################################
|
|
|
|
# Test WaylandServerDisplay
|
|
|
|
########################################################
|
|
|
|
set( testWaylandServerDisplay_SRCS
|
|
|
|
test_display.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandServerDisplay ${testWaylandServerDisplay_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandServerDisplay Qt5::Test Qt5::Gui KF5::WaylandServer Wayland::Server)
|
2017-07-29 06:27:59 +00:00
|
|
|
add_test(NAME kwayland-testWaylandServerDisplay COMMAND testWaylandServerDisplay)
|
2014-09-17 11:24:51 +00:00
|
|
|
ecm_mark_as_test(testWaylandServerDisplay)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandServerSeat
|
|
|
|
########################################################
|
|
|
|
set( testWaylandServerSeat_SRCS
|
|
|
|
test_seat.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandServerSeat ${testWaylandServerSeat_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandServerSeat Qt5::Test Qt5::Gui KF5::WaylandServer Wayland::Server)
|
2017-07-29 06:27:59 +00:00
|
|
|
add_test(NAME kwayland-testWaylandServerSeat COMMAND testWaylandServerSeat)
|
2014-09-17 11:24:51 +00:00
|
|
|
ecm_mark_as_test(testWaylandServerSeat)
|
2016-04-12 08:09:22 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# QtSurfaceExtenstion Helper
|
|
|
|
########################################################
|
|
|
|
add_executable(surfaceExtensionHelper surfaceextension_helper.cpp)
|
|
|
|
target_link_libraries( surfaceExtensionHelper Qt5::Gui)
|
|
|
|
ecm_mark_as_test(surfaceExtensionHelper)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test QtSurfaceExtenstion
|
|
|
|
########################################################
|
|
|
|
set( testQtSurfaceExtension_SRCS
|
|
|
|
test_qt_surface_extension.cpp
|
|
|
|
)
|
|
|
|
add_executable(testQtSurfaceExtension ${testQtSurfaceExtension_SRCS})
|
|
|
|
target_link_libraries( testQtSurfaceExtension Qt5::Test Qt5::Gui KF5::WaylandServer)
|
2017-07-29 06:27:59 +00:00
|
|
|
add_test(NAME kwayland-testQtSurfaceExtension COMMAND testQtSurfaceExtension)
|
2016-04-12 08:09:22 +00:00
|
|
|
ecm_mark_as_test(testQtSurfaceExtension)
|
2016-07-04 06:48:43 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test No XDG_RUNTIME_DIR
|
|
|
|
########################################################
|
|
|
|
add_executable(testNoXdgRuntimeDir test_no_xdg_runtime_dir.cpp)
|
|
|
|
target_link_libraries( testNoXdgRuntimeDir Qt5::Test KF5::WaylandServer)
|
2017-07-29 06:27:59 +00:00
|
|
|
add_test(NAME kwayland-testNoXdgRuntimeDir COMMAND testNoXdgRuntimeDir)
|
2016-07-04 06:48:43 +00:00
|
|
|
ecm_mark_as_test(testNoXdgRuntimeDir)
|