summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-02-05 14:00:34 +0100
committerSlávek Banko <[email protected]>2017-02-05 14:00:49 +0100
commitb3453bfbd9c84149116ab3869953eea4b8d002e1 (patch)
tree98c930d208e55f23453a4ea414a62b1723316ff4 /src
parent7e50858486040160ae95ba2360724609c42af1be (diff)
downloadtellico-b3453bfbd9c84149116ab3869953eea4b8d002e1.tar.gz
tellico-b3453bfbd9c84149116ab3869953eea4b8d002e1.zip
Update tests to a new way
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 6569b886c2e43e3afd0367abcdf1d80c5e0fdea5)
Diffstat (limited to 'src')
-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
)