From 2b2aa1496afeb98221c7b169c0083380cc94e911 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sun, 26 May 2019 12:17:04 -0700 Subject: [PATCH] Test script fixes. --- scripts/run_tests.sh | 4 +++- tests/{test_hull.scad => hull.scad} | 0 tests/{test_polyhedra.scad => polyhedra.scad} | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename tests/{test_hull.scad => hull.scad} (100%) rename tests/{test_polyhedra.scad => polyhedra.scad} (100%) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index bfd4101..323b622 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -3,6 +3,8 @@ OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD for testscript in tests/test_*.scad ; do - ${OPENSCAD} -o .off --hardwarnings --check-parameters true --check-parameter-ranges true $testscript + echo -n "$testscript: " + ${OPENSCAD} -o .off --hardwarnings --check-parameters true --check-parameter-ranges true $testscript >>/dev/null 2>&1 + [ $? != 0 ] && echo "PASS" || echo "FAIL!" done diff --git a/tests/test_hull.scad b/tests/hull.scad similarity index 100% rename from tests/test_hull.scad rename to tests/hull.scad diff --git a/tests/test_polyhedra.scad b/tests/polyhedra.scad similarity index 100% rename from tests/test_polyhedra.scad rename to tests/polyhedra.scad