summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 322d6ec..2772339 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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