Regression fails should fail CI.

This commit is contained in:
Revar Desmera 2020-06-19 23:25:59 -07:00
parent 4cfd38e24f
commit fdcd7453b3
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,356];
BOSL_VERSION = [2,0,357];
// Section: BOSL Library Version Functions