mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-05 23:27:40 +02:00
Fix run_tests to not leave behind .off file.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user