[mapserver-commits] r10287 - trunk/msautotest/misc

svn at osgeo.org svn at osgeo.org
Tue Jul 6 09:47:00 EDT 2010


Author: warmerdam
Date: 2010-07-06 13:46:59 +0000 (Tue, 06 Jul 2010)
New Revision: 10287

Removed:
   trunk/msautotest/misc/run_test.sh
Log:
remove old runtest mechanism, use run_test.py

Deleted: trunk/msautotest/misc/run_test.sh
===================================================================
--- trunk/msautotest/misc/run_test.sh	2010-07-06 10:18:57 UTC (rev 10286)
+++ trunk/msautotest/misc/run_test.sh	2010-07-06 13:46:59 UTC (rev 10287)
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-SHP2IMG=shp2img
-LEGEND=legend
-SCALEBAR=scalebar
-
-MAPS=`ls *.map`
-
-for map in $MAPS ; do
-
-  basename=`basename $map .map`
-  png_file=${basename}.png
-
-  rm -f result/$png_file
-
-  case $basename in 
-   (*_legend )
-     echo "Processing(legend): $map"
-     $LEGEND $map result/$png_file
-     ;;
-   (*_scalebar )
-     echo "Processing(scalebar): $map"
-     $SCALEBAR $map result/$png_file
-     ;;
-   (*)
-     echo "Processing(shp2img): $map"
-     $SHP2IMG -m $map -o result/$png_file
-     ;;
-  esac
-
-  if [ ! -r result/$png_file ] ; then
-    echo "  Shp2img did not produce an output file, SERIOUS TEST FAILURE."
-    continue
-  fi
-
-  if [ ! -r expected/$png_file ] ; then
-    echo "  No expected result, accepting this result as expected."
-    mv result/$png_file expected/$png_file
-  elif cmp --quiet expected/$png_file result/$png_file ; then
-    rm result/$png_file
-    echo "  Results matched." 
-  else
-    echo "  Results differed, TEST FAILURE." 
-  fi
-  echo
-done



More information about the mapserver-commits mailing list