Regression test fixes.

This commit is contained in:
Revar Desmera
2019-10-23 22:49:40 -07:00
parent 18ec424317
commit b0caccebe7
6 changed files with 78 additions and 49 deletions

View File

@@ -3,8 +3,7 @@
OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
for testscript in tests/test_*.scad ; do
echo -n "$testscript: "
${OPENSCAD} -o .off --hardwarnings --check-parameters true --check-parameter-ranges true $testscript >>/dev/null 2>&1
[ $? != 0 ] && echo "PASS" || echo "FAIL!"
repname="$(basename $testscript|sed 's/^test_//')"
${OPENSCAD} -o .off --hardwarnings --check-parameters true --check-parameter-ranges true $testscript 2>&1 && echo "$repname: PASS" || echo -e "$repname: FAIL!\n"
done