Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0c64a776dd
)
v3.5.13-sru
parent
9fde716a8c
commit
f088e39885
@ -0,0 +1,56 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2016 Alexander Golubev
|
||||||
|
# fatzer2 (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}/kdecore
|
||||||
|
${CMAKE_SOURCE_DIR}/kdecore
|
||||||
|
${CMAKE_SOURCE_DIR}/dcop
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TDECORE_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_add_library( kconfigtest SHARED AUTOMOC
|
||||||
|
SOURCES kconfigtest.cpp
|
||||||
|
LINK kunittest-shared
|
||||||
|
EXCLUDE_FROM_ALL
|
||||||
|
)
|
||||||
|
|
||||||
|
set( CHECKS
|
||||||
|
kconfigtestgui klocaletest kprocesstest ksimpleconfigtest kstddirstest
|
||||||
|
kurltest kuniqueapptest ktempfiletest krandomsequencetest kdebugtest
|
||||||
|
ksocktest kstringhandlertest kcmdlineargstest kapptest kmemtest
|
||||||
|
dcopkonqtest kipctest cplusplustest kiconloadertest kresolvertest
|
||||||
|
kmdcodectest knotifytest ksortablevaluelisttest krfcdatetest testqtargs
|
||||||
|
kprociotest kcharsetstest kcalendartest kmacroexpandertest kshelltest
|
||||||
|
kxerrorhandlertest startserviceby kstdacceltest kglobaltest ktimezonestest
|
||||||
|
)
|
||||||
|
|
||||||
|
set( TESTS kurltest kstdacceltest )
|
||||||
|
|
||||||
|
foreach( _check ${CHECKS} )
|
||||||
|
tde_add_check_executable( ${_check} AUTOMOC LINK kconfigtest-shared )
|
||||||
|
endforeach( )
|
||||||
|
|
||||||
|
tde_add_check_executable( kidlservertest AUTOMOC SOURCES KIDLTest.cpp KIDLTest.skel
|
||||||
|
LINK kconfigtest-shared )
|
||||||
|
tde_add_check_executable( kidlclienttest AUTOMOC SOURCES KIDLTestClient.cpp
|
||||||
|
KIDLTest.stub LINK kconfigtest-shared )
|
||||||
|
|
||||||
|
foreach( _test ${TESTS})
|
||||||
|
add_test( ${_test} ${_test} )
|
||||||
|
endforeach( )
|
Loading…
Reference in new issue