mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-05 13:37:43 +02:00
Regression fails should fail CI.
This commit is contained in:
@@ -6,6 +6,7 @@ else
|
|||||||
OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
|
OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
OUTCODE=0
|
||||||
for testscript in tests/test_*.scad ; do
|
for testscript in tests/test_*.scad ; do
|
||||||
repname="$(basename $testscript|sed 's/^test_//')"
|
repname="$(basename $testscript|sed 's/^test_//')"
|
||||||
${OPENSCAD} -o out.echo --hardwarnings --check-parameters true --check-parameter-ranges true $testscript 2>&1
|
${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!"
|
echo "$repname: FAIL!"
|
||||||
cat out.echo
|
cat out.echo
|
||||||
echo
|
echo
|
||||||
|
OUTCODE=-1
|
||||||
fi
|
fi
|
||||||
rm -f out.echo
|
rm -f out.echo
|
||||||
done
|
done
|
||||||
|
exit $OUTCODE
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,356];
|
BOSL_VERSION = [2,0,357];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
Reference in New Issue
Block a user