summaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorchrysn <chrysn@fsfe.org>2013-06-24 16:41:50 (GMT)
committerchrysn <chrysn@fsfe.org>2013-06-25 11:41:48 (GMT)
commit7d53e564aaa522fdb16cb92831741354ab18dee7 (patch)
treee336324418e7723300625f9ef6eb1d3d2fc1cab6 /tests/CMakeLists.txt
parent84857ac157d3097be4ca32378cbd0855e4577b90 (diff)
use openscad as a replacement for dumptest and echotest
the echotest and dumptest still contain hacks to keep the delta to the original unit tests minimal; possibly, some of these changes will make it into the openscad program, at which time they can go away from there.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0a1efd3..cdaaeaf 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -522,18 +522,6 @@ add_library(tests-offscreen STATIC ${OFFSCREEN_SOURCES})
set(TESTS-NOCGAL-LIBRARIES ${TESTS-CORE-LIBRARIES})
#
-# echotest
-#
-add_executable(echotest echotest.cc)
-target_link_libraries(echotest tests-nocgal ${TESTS-NOCGAL-LIBRARIES})
-
-#
-# dumptest
-#
-add_executable(dumptest dumptest.cc)
-target_link_libraries(dumptest tests-nocgal ${TESTS-NOCGAL-LIBRARIES})
-
-#
# moduledumptest
#
add_executable(moduledumptest moduledumptest.cc)
@@ -929,7 +917,7 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake ${TMP})
# Add tests
add_cmdline_test(echotest SUFFIX txt FILES ${ECHO_FILES})
-add_cmdline_test(dumptest SUFFIX txt FILES ${DUMPTEST_FILES})
+add_cmdline_test(dumptest SUFFIX csg FILES ${DUMPTEST_FILES})
add_cmdline_test(moduledumptest SUFFIX txt FILES
${CMAKE_SOURCE_DIR}/../testdata/scad/minimal/allmodules.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/minimal/allfunctions.scad
contact: Jan Huwald // Impressum