From 5ff79c6393acd2fa4143f340f95646c07d357007 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 5 Nov 2011 16:21:47 +0100 Subject: Added parser-tests 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 -- cgit v0.10.1