diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
commit | df247efec654e512242e4f4f1b0212034f9e01fe (patch) | |
tree | 25c02e16957f3aa613af30c140fd8e8a3d52fda6 /app/bin/unittest/CMakeLists.txt | |
parent | d0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (diff) | |
parent | a5ade52caa489cf0a713e0f02b764000d203140e (diff) |
Merge branch 'release/debian/1%5.2.0Beta2.1-1' into masterdebian/1%5.2.0Beta2.1-1
Diffstat (limited to 'app/bin/unittest/CMakeLists.txt')
-rw-r--r-- | app/bin/unittest/CMakeLists.txt | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/app/bin/unittest/CMakeLists.txt b/app/bin/unittest/CMakeLists.txt index 32e2ddb..7055d0b 100644 --- a/app/bin/unittest/CMakeLists.txt +++ b/app/bin/unittest/CMakeLists.txt @@ -1,10 +1,10 @@ # build unit tests for the xtrkcad library -add_executable(dxfformattest +add_executable(dxfformattest dxfformattest.c ../dxfformat.c ) - + target_link_libraries(dxfformattest dynstring ${LIBS}) @@ -29,3 +29,35 @@ target_link_libraries(defaultstest ${LIBS}) add_test(DefaultsTest defaultstest) + +add_executable(shortentest + shortentest.c + ../shortentext.c + ) + +target_link_libraries(shortentest + ${LIBS}) + +add_test(ShortenTest shortentest) + +add_test(CatalogTest catalogtest) + +set (TESTXTP + "atl83ho.xtp" "atlasn.xtp" "HO-Peco-Code83.xtp" + ) + +foreach(testfile IN LISTS TESTXTP ) + configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/testfiles/${testfile} + ${CMAKE_CURRENT_BINARY_DIR} + COPYONLY ) +endforeach() + +add_executable(catalogtest + catalogtest.c + ../partcatalog.c + ../paths.c + ) + +target_link_libraries(catalogtest + dynstring + ${LIBS})
\ No newline at end of file |