cmake: Add tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 2a50894a43
commit 11cb023db2
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -41,6 +41,7 @@ include( TDEMacros )
include( TDESetupPaths )
tde_setup_paths( )
enable_testing( )
##### optional stuff
@ -136,6 +137,51 @@ tde_add_library( art_lgpl_2 STATIC_PIC
)
## tests
tde_add_check_executable( testart
SOURCES
testart.c
LINK
art_lgpl_2-shared
m
)
add_test(
NAME testart-testpat
COMMAND testart testpat
)
#-- the testart-gradient often ends at sigsegv
#add_test(
# NAME testart-gradient
# COMMAND testart gradient
#)
add_test(
NAME testart-dash
COMMAND testart dash
)
add_test(
NAME testart-dist
COMMAND testart dist
)
add_test(
NAME testart-intersect
COMMAND testart intersect
)
tde_add_check_executable( testuta
SOURCES
testuta.c
LINK
art_lgpl_2-shared
m
TEST
)
##### Headers
set( _headers art_affine.h art_alphagamma.h

Loading…
Cancel
Save