Reorganized the testdata dir

git-svn-id: http://svn.clifford.at/openscad/trunk@494 b57f626f-c46c-0410-a088-ec61d464b74c
stl_dim
kintel 2010-03-31 00:45:23 +00:00
parent 23ad94218a
commit cca148f5c9
35 changed files with 29 additions and 1 deletions

View File

@ -5,7 +5,7 @@ cmd="openscad"
[ -x "./OpenSCAD.app/Contents/MacOS/OpenSCAD" ] && cmd="./OpenSCAD.app/Contents/MacOS/OpenSCAD"
mkdir -p output
for f in testdata/*.dxf; do
for f in testdata/dxf/*.dxf; do
echo `basename $f`
cat > tmp.scad << EOF
import_dxf("$f");

14
test-code/batch-cgal.sh Executable file
View File

@ -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

14
test-code/batch-dump.sh Executable file
View File

@ -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