BOSL2/scripts/run_tests.sh

11 lines
318 B
Bash
Raw Normal View History

#!/bin/bash
OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
for testscript in tests/test_*.scad ; do
2019-05-26 19:17:04 +00:00
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