[mapserver-commits] r11256 - trunk/msautotest/pymod

svn at osgeo.org svn at osgeo.org
Fri Mar 18 14:51:05 EDT 2011


Author: warmerdam
Date: 2011-03-18 11:51:05 -0700 (Fri, 18 Mar 2011)
New Revision: 11256

Modified:
   trunk/msautotest/pymod/testlib.py
Log:
avoid using gdal comparison for .xml files

Modified: trunk/msautotest/pymod/testlib.py
===================================================================
--- trunk/msautotest/pymod/testlib.py	2011-03-18 18:44:20 UTC (rev 11255)
+++ trunk/msautotest/pymod/testlib.py	2011-03-18 18:51:05 UTC (rev 11256)
@@ -87,6 +87,9 @@
     if filecmp.cmp(expected_file,result_file,0):
         return 'match'
 
+    if expected_file[-4:] == '.xml':
+        return 'nomatch'
+    
     ###################################################################
     # Check image checksums with GDAL if it is available.
     
@@ -95,6 +98,7 @@
             from osgeo import gdal
         except:
             import gdal
+
         gdal.PushErrorHandler('CPLQuietErrorHandler')
         exp_ds = gdal.Open( expected_file )
         gdal.PopErrorHandler()



More information about the mapserver-commits mailing list