diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-12-18 16:39:16 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-07-22 15:56:50 +0200 |
commit | b285b4e15fe58d40d29d32a64544b86c0a4569f3 (patch) | |
tree | fbf90f3914b72f4e6bad15740c36d81b2d9ef9a4 /kdecore | |
parent | 398e96f2110e22262124b3de2a0cbef618bc7a69 (diff) | |
download | tdelibs-b285b4e15fe58d40d29d32a64544b86c0a4569f3.tar.gz tdelibs-b285b4e15fe58d40d29d32a64544b86c0a4569f3.zip |
testing: add TEST argument to tde_add_check_executable() macro
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 7e73e618d0470110b60f8f1d3211841daf99b593)
Diffstat (limited to 'kdecore')
-rw-r--r-- | kdecore/tests/CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/kdecore/tests/CMakeLists.txt b/kdecore/tests/CMakeLists.txt index 1ae327cc1..bc6dcabf7 100644 --- a/kdecore/tests/CMakeLists.txt +++ b/kdecore/tests/CMakeLists.txt @@ -32,25 +32,23 @@ tde_add_library( kconfigtest SHARED AUTOMOC set( CHECKS kconfigtestgui klocaletest kprocesstest ksimpleconfigtest kstddirstest - kurltest kuniqueapptest ktempfiletest krandomsequencetest kdebugtest + 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 + kxerrorhandlertest startserviceby kglobaltest ktimezonestest ) -set( TESTS kurltest kstdacceltest ) foreach( _check ${CHECKS} ) tde_add_check_executable( ${_check} AUTOMOC LINK kconfigtest-shared ) endforeach( ) +tde_add_check_executable( kurltest AUTOMOC LINK kconfigtest-shared TEST ) +tde_add_check_executable( kstdacceltest AUTOMOC LINK kconfigtest-shared TEST ) + 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( kdecore/${_test} ${_test} ) -endforeach( ) |