Check for sparse before starting the regression tests.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 4 Apr 2009 18:03:43 +0000 (18:03 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 4 Apr 2009 18:03:43 +0000 (18:03 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@749 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scripts/run-regression-tests

index 855a0b4..b2665fa 100755 (executable)
@@ -480,6 +480,10 @@ fi
 # Regression tests #
 ####################
 
+if [ "$(type -p sparse)" = "" ]; then
+  echo "Error: sparse has not yet been installed."
+fi
+
 if ! mkdir -p "${outputdir}"; then
   if [ -e "${outputdir}" ]; then
     echo "Error: directory ${outputdir} already exists."