summaryrefslogtreecommitdiffstats
path: root/tests/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dimension')
-rwxr-xr-xtests/dimension/arithexp.sh4
-rwxr-xr-xtests/dimension/csg.sh6
-rwxr-xr-xtests/dimension/demo.sh6
-rwxr-xr-xtests/dimension/directives.sh4
-rwxr-xr-xtests/dimension/integer-overflow.sh4
-rwxr-xr-xtests/dimension/invalid-macro.sh4
-rwxr-xr-xtests/dimension/labels.sh4
-rwxr-xr-xtests/dimension/numeric.sh4
-rwxr-xr-xtests/dimension/punctuation.sh4
-rwxr-xr-xtests/dimension/strings.sh4
-rwxr-xr-xtests/dimension/tbuffer-overlap.sh4
-rwxr-xr-xtests/dimension/transformations.sh6
12 files changed, 27 insertions, 27 deletions
diff --git a/tests/dimension/arithexp.sh b/tests/dimension/arithexp.sh
index c5be884..3f47020 100755
--- a/tests/dimension/arithexp.sh
+++ b/tests/dimension/arithexp.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-arithexp=$(${top_builddir}/dimension/dimension --parse ${srcdir}/arithexp.pov)
+arithexp=$(${top_builddir}/dimension/dimension --strict --parse ${srcdir}/arithexp.pov)
arithexp_exp="$(echo -n \
'((object
(sphere
diff --git a/tests/dimension/csg.sh b/tests/dimension/csg.sh
index 8a45a78..f282335 100755
--- a/tests/dimension/csg.sh
+++ b/tests/dimension/csg.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2010-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-csg=$(${top_builddir}/dimension/dimension -w768 -h480 --parse ${srcdir}/csg.pov)
+csg=$(${top_builddir}/dimension/dimension --strict -w768 -h480 --parse ${srcdir}/csg.pov)
csg_exp="$(echo -n \
'((camera
perspective
@@ -91,4 +91,4 @@ if [ "$csg" != "$csg_exp" ]; then
exit 1
fi
-${top_builddir}/dimension/dimension -w768 -h480 -o csg.png ${srcdir}/csg.pov
+${top_builddir}/dimension/dimension --strict -w768 -h480 -o csg.png ${srcdir}/csg.pov
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 80d5ade..b80adec 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-demo=$(${top_builddir}/dimension/dimension -w768 -h480 --parse ${srcdir}/demo.pov)
+demo=$(${top_builddir}/dimension/dimension --strict -w768 -h480 --parse ${srcdir}/demo.pov)
demo_exp=$(echo -n \
'((camera
perspective
@@ -214,4 +214,4 @@ if [ "$demo" != "$demo_exp" ]; then
exit 1
fi
-${top_builddir}/dimension/dimension -w768 -h480 -o demo.png ${srcdir}/demo.pov
+${top_builddir}/dimension/dimension --strict -w768 -h480 -o demo.png ${srcdir}/demo.pov
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh
index 3e0233c..079e3e1 100755
--- a/tests/dimension/directives.sh
+++ b/tests/dimension/directives.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-directives=$(${top_builddir}/dimension/dimension --tokenize --parse ${srcdir}/directives.pov)
+directives=$(${top_builddir}/dimension/dimension --strict --tokenize --parse ${srcdir}/directives.pov)
directives_exp="$(echo -n \
'(#version (float "3.6") ;
#debug (string "debug")
diff --git a/tests/dimension/integer-overflow.sh b/tests/dimension/integer-overflow.sh
index 737c0e2..cdb3685 100755
--- a/tests/dimension/integer-overflow.sh
+++ b/tests/dimension/integer-overflow.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-integer_overflow=$(${top_builddir}/dimension/dimension --parse ${srcdir}/integer-overflow.pov)
+integer_overflow=$(${top_builddir}/dimension/dimension --strict --parse ${srcdir}/integer-overflow.pov)
integer_overflow_exp="$(echo -n \
'((object
(torus
diff --git a/tests/dimension/invalid-macro.sh b/tests/dimension/invalid-macro.sh
index 30186fb..144cb21 100755
--- a/tests/dimension/invalid-macro.sh
+++ b/tests/dimension/invalid-macro.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,5 +19,5 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-${top_builddir}/dimension/dimension --parse ${srcdir}/invalid-macro.pov
+${top_builddir}/dimension/dimension --strict --parse ${srcdir}/invalid-macro.pov
[ $? -lt 128 -a $? -gt 0 ]
diff --git a/tests/dimension/labels.sh b/tests/dimension/labels.sh
index c6e99b1..83b2f05 100755
--- a/tests/dimension/labels.sh
+++ b/tests/dimension/labels.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-labels=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/labels.pov)
+labels=$(${top_builddir}/dimension/dimension --strict --tokenize ${srcdir}/labels.pov)
labels_exp='(camera { } sphere { color (identifier "new_identifier") } box { color (identifier "new_identifier") })';
if [ "$labels" != "$labels_exp" ]; then
diff --git a/tests/dimension/numeric.sh b/tests/dimension/numeric.sh
index 0f9c7ef..6baca70 100755
--- a/tests/dimension/numeric.sh
+++ b/tests/dimension/numeric.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-numeric=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/numeric.pov)
+numeric=$(${top_builddir}/dimension/dimension --strict --tokenize ${srcdir}/numeric.pov)
numeric_exp=$(echo -n \
'((integer "1")
(integer "123456789")
diff --git a/tests/dimension/punctuation.sh b/tests/dimension/punctuation.sh
index 339caef..2fde521 100755
--- a/tests/dimension/punctuation.sh
+++ b/tests/dimension/punctuation.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-punctuation=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/punctuation.pov)
+punctuation=$(${top_builddir}/dimension/dimension --strict --tokenize ${srcdir}/punctuation.pov)
punctuation_exp='({ } \( \) [ ] + - * / , ; ? : & . | = < > ! <= >= !=)'
if [ "$punctuation" != "$punctuation_exp" ]; then
diff --git a/tests/dimension/strings.sh b/tests/dimension/strings.sh
index f9a1cfd..2fee2c6 100755
--- a/tests/dimension/strings.sh
+++ b/tests/dimension/strings.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-strings=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/strings.pov)
+strings=$(${top_builddir}/dimension/dimension --strict --tokenize ${srcdir}/strings.pov)
strings_exp=$(/bin/echo -e "((string \"This is a string with escape sequences: \a\b\f\n\r\t!#\v\\\'\"\"))")
if [ "$strings" != "$strings_exp" ]; then
diff --git a/tests/dimension/tbuffer-overlap.sh b/tests/dimension/tbuffer-overlap.sh
index 8e5f52e..83a65d7 100755
--- a/tests/dimension/tbuffer-overlap.sh
+++ b/tests/dimension/tbuffer-overlap.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,5 +19,5 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-${top_builddir}/dimension/dimension --parse ${srcdir}/tbuffer-overlap.pov
+${top_builddir}/dimension/dimension --strict --parse ${srcdir}/tbuffer-overlap.pov
[ $? -lt 128 -a $? -gt 0 ]
diff --git a/tests/dimension/transformations.sh b/tests/dimension/transformations.sh
index 462dbeb..e53d9cf 100755
--- a/tests/dimension/transformations.sh
+++ b/tests/dimension/transformations.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#########################################################################
-# Copyright (C) 2009-2010 Tavian Barnes <tavianator@gmail.com> #
+# Copyright (C) 2009-2011 Tavian Barnes <tavianator@gmail.com> #
# #
# This file is part of The Dimension Test Suite. #
# #
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-transformations=$(${top_builddir}/dimension/dimension --parse ${srcdir}/transformations.pov)
+transformations=$(${top_builddir}/dimension/dimension --strict --parse ${srcdir}/transformations.pov)
transformations_exp="$(echo -n \
'((object
(sphere
@@ -61,4 +61,4 @@ if [ "$transformations" != "$transformations_exp" ]; then
exit 1
fi
-${top_builddir}/dimension/dimension -w1 -h1 -o /dev/null ${srcdir}/transformations.pov
+${top_builddir}/dimension/dimension --strict -w1 -h1 -o /dev/null ${srcdir}/transformations.pov