Revert "use ecm_mark_as_test in kwin"

This reverts commit 659ee81a092a7efe0e56544277f9863485a3dec7.

somehow tests are not running on kwin
master
Bhushan Shah 11 years ago
parent 7b110f0671
commit 78c83642c4

@ -1,31 +1,24 @@
include(ECMMarkAsTest)
set( testUpdateKWin49_SRCS test_update_kwin_49.cpp ../data/update_kwin_49.cpp ../tabbox/tabboxconfig.cpp )
#add_executable( testUpdateKWin49 ${testUpdateKWin49_SRCS} )
#kde4_add_unit_test( testUpdateKWin49 TESTNAME kwin-TestUpdateKWin49 ${testUpdateKWin49_SRCS} )
#target_link_libraries( testUpdateKWin49 Qt5::Test )
#ecm_mark_as_test(testUpdateKWin49)
########################################################
# Test ScreenPaintData
########################################################
set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
add_executable( testScreenPaintData ${testScreenPaintData_SRCS} )
kde4_add_unit_test( testScreenPaintData TESTNAME kwin-TestScreenPaintData ${testScreenPaintData_SRCS} )
target_link_libraries( testScreenPaintData kwineffects Qt5::Test Qt5::Widgets)
ecm_mark_as_test(testScreenPaintData)
########################################################
# Test WindowPaintData
########################################################
set( testWindowPaintData_SRCS test_window_paint_data.cpp )
add_executable( testWindowPaintData ${testWindowPaintData_SRCS} )
kde4_add_unit_test( testWindowPaintData TESTNAME kwin-TestWindowPaintData ${testWindowPaintData_SRCS} )
target_link_libraries( testWindowPaintData kwineffects Qt5::Widgets Qt5::Test )
ecm_mark_as_test(testWindowPaintData)
########################################################
# Test VirtualDesktopManager
########################################################
@ -33,7 +26,7 @@ set( testVirtualDesktops_SRCS
test_virtual_desktops.cpp
../virtualdesktops.cpp
)
add_executable( testVirtualDesktops ${testVirtualDesktops_SRCS} )
kde4_add_unit_test( testVirtualDesktops TESTNAME kwin-TestVirtualDesktops ${testVirtualDesktops_SRCS} )
target_link_libraries( testVirtualDesktops
Qt5::Test
@ -43,7 +36,6 @@ target_link_libraries( testVirtualDesktops
KF5::KWindowSystem
)
ecm_mark_as_test(testVirtualDesktops)
########################################################
# Test ClientMachine
########################################################
@ -54,8 +46,7 @@ set( testClientMachine_SRCS
../atoms.cpp # needed by utils.cpp
../cursor.cpp # needed by utils.cpp
)
add_executable( testClientMachine ${testClientMachine_SRCS} )
kde4_add_unit_test( testClientMachine TESTNAME kwin-TestClientMachine ${testClientMachine_SRCS} )
target_link_libraries( testClientMachine
Qt5::Concurrent
@ -69,7 +60,6 @@ target_link_libraries( testClientMachine
${X11_Xcursor_LIB}
)
ecm_mark_as_test(testClientMachine)
########################################################
# Test XcbWrapper
########################################################

Loading…
Cancel
Save