diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-12 19:53:12 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-12 19:53:12 (GMT) |
commit | 9c14544a92bfd44ab230192a3b74c319f6fe0cc9 (patch) | |
tree | 38f96c60caa2f2fbaa0b0178ce4c2714498cab3b | |
parent | 170c506ab789cafa4369d56f29a92f33329a9a3e (diff) |
Hooked up function tests
-rw-r--r-- | testdata/scad/functions/len-tests.scad (renamed from testdata/scad/features/len-tests.scad) | 0 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/regression/echotest/len-tests-expected.txt | 7 |
3 files changed, 9 insertions, 1 deletions
diff --git a/testdata/scad/features/len-tests.scad b/testdata/scad/functions/len-tests.scad index fba7ae1..fba7ae1 100644 --- a/testdata/scad/features/len-tests.scad +++ b/testdata/scad/functions/len-tests.scad diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9668df7..31420b3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -370,6 +370,7 @@ list(REMOVE_ITEM FEATURES_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/features/include-test5.scad) file(GLOB BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/*.scad) file(GLOB SCAD_DXF_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/dxf/*.scad) +file(GLOB FUNCTION_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/functions/*.scad) file(GLOB EXAMPLE_FILES ${CMAKE_SOURCE_DIR}/../examples/*.scad) list(APPEND DUMPTEST_FILES ${MINIMAL_FILES} ${FEATURES_FILES} ${EXAMPLE_FILES}) @@ -388,7 +389,7 @@ list(REMOVE_ITEM DUMPTEST_FILES ${CMAKE_SOURCE_DIR}/../examples/example016.scad) list(REMOVE_ITEM DUMPTEST_FILES ${CMAKE_SOURCE_DIR}/../examples/example020.scad) list(REMOVE_ITEM DUMPTEST_FILES ${CMAKE_SOURCE_DIR}/../examples/example021.scad) -list(APPEND ECHO_FILES +list(APPEND ECHO_FILES ${FUNCTION_FILES} ${CMAKE_SOURCE_DIR}/../testdata/scad/minimal/echo.scad ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/echo-tests.scad ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/escape-test.scad diff --git a/tests/regression/echotest/len-tests-expected.txt b/tests/regression/echotest/len-tests-expected.txt new file mode 100644 index 0000000..2a776c0 --- /dev/null +++ b/tests/regression/echotest/len-tests-expected.txt @@ -0,0 +1,7 @@ +ECHO: 4 +ECHO: 4 +ECHO: 0 +ECHO: 0 +ECHO: 2 +ECHO: 3 +ECHO: undef |