mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-13 19:44:23 +02:00
Regression test fixes.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user