diff options
author | Slávek Banko <[email protected]> | 2019-04-23 02:50:13 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-04-23 20:48:41 +0200 |
commit | 11cb023db2dafccf30bec902fc7c8fad64d9ede8 (patch) | |
tree | a1fb505d2fe189b16cdad7143b7183ec1307e097 | |
parent | 2a50894a436559785a7e0f6f65dde13b0082572c (diff) | |
download | libart-lgpl-11cb023db2dafccf30bec902fc7c8fad64d9ede8.tar.gz libart-lgpl-11cb023db2dafccf30bec902fc7c8fad64d9ede8.zip |
cmake: Add tests.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | CMakeLists.txt | 46 |
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 |