summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
)