Changeset View
Changeset View
Standalone View
Standalone View
autotests/wayland/CMakeLists.txt
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Line(s) | |||||
129 | ######################################################## | 129 | ######################################################## | ||
130 | # Dont Crash Empty Deco Test | 130 | # Dont Crash Empty Deco Test | ||
131 | ######################################################## | 131 | ######################################################## | ||
132 | set( testDontCrashEmptyDeco_SRCS dont_crash_empty_deco.cpp kwin_wayland_test.cpp ) | 132 | set( testDontCrashEmptyDeco_SRCS dont_crash_empty_deco.cpp kwin_wayland_test.cpp ) | ||
133 | add_executable(testDontCrashEmptyDeco ${testDontCrashEmptyDeco_SRCS}) | 133 | add_executable(testDontCrashEmptyDeco ${testDontCrashEmptyDeco_SRCS}) | ||
134 | target_link_libraries( testDontCrashEmptyDeco kwin Qt5::Test) | 134 | target_link_libraries( testDontCrashEmptyDeco kwin Qt5::Test) | ||
135 | add_test(kwin-testDontCrashEmptyDeco testDontCrashEmptyDeco) | 135 | add_test(kwin-testDontCrashEmptyDeco testDontCrashEmptyDeco) | ||
136 | ecm_mark_as_test(testDontCrashEmptyDeco) | 136 | ecm_mark_as_test(testDontCrashEmptyDeco) | ||
137 | | ||||
138 | ######################################################## | ||||
139 | # Dont Crash Aurorae Destroy Deco | ||||
140 | ######################################################## | ||||
141 | if (XCB_ICCCM_FOUND) | ||||
142 | set( testDontCrashAuroraeDestroyDeco_SRCS dont_crash_aurorae_destroy_deco.cpp kwin_wayland_test.cpp ) | ||||
143 | add_executable(testDontCrashAuroraeDestroyDeco ${testDontCrashAuroraeDestroyDeco_SRCS}) | ||||
144 | target_link_libraries( testDontCrashAuroraeDestroyDeco kwin Qt5::Test XCB::ICCCM) | ||||
145 | add_test(kwin-testDontCrashAuroraeDestroyDeco testDontCrashAuroraeDestroyDeco) | ||||
146 | ecm_mark_as_test(testDontCrashAuroraeDestroyDeco) | ||||
147 | endif() |