diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-05 15:21:47 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-05 15:21:47 (GMT) |
commit | 5ff79c6393acd2fa4143f340f95646c07d357007 (patch) | |
tree | 10c713242e0dd1a2661bca3be3399296305549d1 | |
parent | 2b4979544200406b35be0bfba18385c65bd1518d (diff) |
Added parser-tests
-rw-r--r-- | tests/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/regression/echotest/parser-tests-expected.txt | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0e6c852..26b2ed2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -328,7 +328,8 @@ list(APPEND DUMPTEST_FILES ${MINIMAL_FILES} list(APPEND ECHO_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/minimal/echo.scad - ${CMAKE_SOURCE_DIR}/../testdata/scad/features/echo-tests.scad) + ${CMAKE_SOURCE_DIR}/../testdata/scad/features/echo-tests.scad + ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/parser-tests.scad) # Add echotest tests to CTest add_cmdline_test(echotest txt ${ECHO_FILES}) diff --git a/tests/regression/echotest/parser-tests-expected.txt b/tests/regression/echotest/parser-tests-expected.txt new file mode 100644 index 0000000..fb04907 --- /dev/null +++ b/tests/regression/echotest/parser-tests-expected.txt @@ -0,0 +1,5 @@ +ECHO: 0.1 +ECHO: 2 +ECHO: 1100 +ECHO: 0.021 +ECHO: 1.1e-13 |