summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-05 13:00:34 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2017-02-05 13:00:34 (GMT)
commit6569b886c2e43e3afd0367abcdf1d80c5e0fdea5 (patch)
tree15cc51ec19f9c1f2260dc81954a84f9ee8a18243
parentb3713a9acf2496fb926a75c03811681bc1c2bb48 (diff)
downloadtellico-6569b886.zip
tellico-6569b886.tar.gz
Update tests to a new way
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/tests/CMakeLists.txt18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 1a00233..23ef0c9 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -22,36 +22,30 @@ link_directories(
)
-##### define tests ##############################
-
-add_test( isbtest isbntest )
-
-add_test( latin1test latin1test )
-
-add_test( entitytest entitytest )
-
-
##### test programs #############################
-tde_add_executable( isbntest AUTOMOC
+tde_add_check_executable( isbntest AUTOMOC
SOURCES
isbntest.cpp
../isbnvalidator.cpp ../upcvalidator.cpp
LINK
tdecore-shared tdeui-shared
+ TEST
)
-tde_add_executable( latin1test AUTOMOC
+tde_add_check_executable( latin1test AUTOMOC
SOURCES
latin1test.cpp
LINK
tdecore-shared
+ TEST
)
-tde_add_executable( entitytest AUTOMOC
+tde_add_check_executable( entitytest AUTOMOC
SOURCES
entitytest.cpp
../tellico_utils.cpp
LINK
tdecore-shared
+ TEST
)