From b3453bfbd9c84149116ab3869953eea4b8d002e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 5 Feb 2017 14:00:34 +0100 Subject: Update tests to a new way MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 6569b886c2e43e3afd0367abcdf1d80c5e0fdea5) --- src/tests/CMakeLists.txt | 18 ++++++------------ 1 file 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 ) -- cgit v1.2.1