Browse Source

Update tests to a new way

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 4 years ago
parent
commit
6569b886c2
1 changed files with 6 additions and 12 deletions
  1. +6
    -12
      src/tests/CMakeLists.txt

+ 6
- 12
src/tests/CMakeLists.txt View File

@ -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
)

Loading…
Cancel
Save