Regression test CI fix.

This commit is contained in:
Revar Desmera 2020-06-19 23:18:04 -07:00
parent f727a9c3f1
commit 4cfd38e24f
3 changed files with 7 additions and 3 deletions

View file

@ -34,7 +34,7 @@ rm -f tmpscad*.scad
for lib in $PREVIEW_LIBS; do
lib="$(basename $lib .scad)"
mkdir -p images/$lib
if [ "$IMGGEN" != "" -a "$TESTONLY" != ""]; then
if [ "$IMGGEN" != "" -a "$TESTONLY" != "" ]; then
rm -f images/$lib/*.png images/$lib/*.gif
fi
echo "$lib.scad"

View file

@ -1,6 +1,10 @@
#!/bin/bash
OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
if [ "$(uname -s)" != "Darwin" ]; then
OPENSCAD=openscad
else
OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
fi
for testscript in tests/test_*.scad ; do
repname="$(basename $testscript|sed 's/^test_//')"

View file

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