diff options
author | Slávek Banko <[email protected]> | 2017-02-05 14:00:34 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-02-05 14:00:49 +0100 |
commit | b3453bfbd9c84149116ab3869953eea4b8d002e1 (patch) | |
tree | 98c930d208e55f23453a4ea414a62b1723316ff4 | |
parent | 7e50858486040160ae95ba2360724609c42af1be (diff) | |
download | tellico-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)
-rw-r--r-- | src/tests/CMakeLists.txt | 18 |
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 ) |