diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 36d4cc4..2117655 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -6,6 +6,7 @@ else OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD fi +OUTCODE=0 for testscript in tests/test_*.scad ; do repname="$(basename $testscript|sed 's/^test_//')" ${OPENSCAD} -o out.echo --hardwarnings --check-parameters true --check-parameter-ranges true $testscript 2>&1 @@ -16,7 +17,9 @@ for testscript in tests/test_*.scad ; do echo "$repname: FAIL!" cat out.echo echo + OUTCODE=-1 fi rm -f out.echo done +exit $OUTCODE diff --git a/version.scad b/version.scad index 0861752..ea76d5f 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,356]; +BOSL_VERSION = [2,0,357]; // Section: BOSL Library Version Functions