summaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorchrysn <chrysn@fsfe.org>2013-06-28 08:50:48 (GMT)
committerchrysn <chrysn@fsfe.org>2013-06-28 08:50:48 (GMT)
commit28e420d8712a73e66db328cdb80a8b09f6f9a0b4 (patch)
tree0945dd904b915407f46be6b53d99ec6561566af2 /tests/CMakeLists.txt
parentad1a11a28edd85354c3ef5386961d5cee6a19185 (diff)
replace echotest and dumptest with python scripts
this solves problems of sed compatibility on different platoforms. also, the openscad binary to use is now passed in from the ctest script.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0282622..5a44b8a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -876,8 +876,8 @@ 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 csg FILES ${DUMPTEST_FILES})
+add_cmdline_test(echotest SUFFIX txt ARGS ${GUI_BINPATH} FILES ${ECHO_FILES})
+add_cmdline_test(dumptest SUFFIX csg ARGS ${GUI_BINPATH} FILES ${DUMPTEST_FILES})
add_cmdline_test(moduledumptest EXE ${GUI_BINPATH} ARGS -o SUFFIX ast FILES
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/allmodules.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/allfunctions.scad
contact: Jan Huwald // Impressum