mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Regression fails should fail CI.
This commit is contained in:
parent
4cfd38e24f
commit
fdcd7453b3
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue