BOSL2/scripts/run_tests.sh
2019-05-26 12:17:04 -07:00

10 lines
318 B
Bash
Executable file

#!/bin/bash
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!"
done