Fix run_tests to not leave behind .off file.

This commit is contained in:
Revar Desmera 2019-10-30 18:54:03 -07:00
parent 387232e8dc
commit 6c282b07a9

View file

@ -4,6 +4,7 @@ OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
for testscript in tests/test_*.scad ; do
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"
${OPENSCAD} -o out.echo --hardwarnings --check-parameters true --check-parameter-ranges true $testscript 2>&1 && echo "$repname: PASS" || echo -e "$repname: FAIL!\n"
rm -f out.echo
done