mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-05 10:17:42 +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
|
for testscript in tests/test_*.scad ; do
|
||||||
repname="$(basename $testscript|sed 's/^test_//')"
|
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
|
done
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user