summaryrefslogtreecommitdiff
path: root/test-code
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-03-31 00:45:23 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-03-31 00:45:23 (GMT)
commitcca148f5c91fc5fe780feab255b590a07f9a44e2 (patch)
treed983bbf13c845d7a5d16f018804443873e822ea1 /test-code
parent23ad94218a796695dffaddf2dbd7645e1fcb46ba (diff)
Reorganized the testdata dir
git-svn-id: http://svn.clifford.at/openscad/trunk@494 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'test-code')
-rwxr-xr-xtest-code/batch-cgal.sh14
-rwxr-xr-xtest-code/batch-dump.sh14
2 files changed, 28 insertions, 0 deletions
diff --git a/test-code/batch-cgal.sh b/test-code/batch-cgal.sh
new file mode 100755
index 0000000..ea587be
--- /dev/null
+++ b/test-code/batch-cgal.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+cmd="./cgaltest"
+
+if [ $# == 0 ]; then
+ dir=../testdata/scad
+else
+ dir=$1
+fi
+
+for f in $dir/*.scad; do
+ echo == `basename $f` ==
+ "$cmd" "$f"
+done
diff --git a/test-code/batch-dump.sh b/test-code/batch-dump.sh
new file mode 100755
index 0000000..9db4fb5
--- /dev/null
+++ b/test-code/batch-dump.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+cmd="./dumptest"
+
+if [ $# == 0 ]; then
+ dir=../testdata/scad
+else
+ dir=$1
+fi
+
+for f in $dir/*.scad; do
+ echo `basename $f`
+ "$cmd" "$f"
+done
contact: Jan Huwald // Impressum