From 6c282b07a9e690013cd12a88d55749677ccf3c2c Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Wed, 30 Oct 2019 18:54:03 -0700 Subject: [PATCH] Fix run_tests to not leave behind .off file. --- scripts/run_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 34470ff..ba76f73 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -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