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

svn at osgeo.org svn at osgeo.org
Mon Dec 6 22:53:21 EST 2010


Author: warmerdam
Date: 2010-12-06 19:53:20 -0800 (Mon, 06 Dec 2010)
New Revision: 10780

Modified:
   trunk/msautotest/pymod/testlib.py
Log:
Push the stderr from perceptualdiff into stdout so we can hide the
annoying not MDI/TIFF message for png files which are supported but
always result in an annoying message.


Modified: trunk/msautotest/pymod/testlib.py
===================================================================
--- trunk/msautotest/pymod/testlib.py	2010-12-06 04:06:29 UTC (rev 10779)
+++ trunk/msautotest/pymod/testlib.py	2010-12-07 03:53:20 UTC (rev 10780)
@@ -96,7 +96,7 @@
        or '\x89\x50\x4e\x47\x0d\x0a\x1a\x0a' in result):
     
         try:
-            cmd = 'perceptualdiff %s %s -verbose > pd.out' % (result_file,expected_file)
+            cmd = 'perceptualdiff %s %s -verbose > pd.out 2>1 ' % (result_file,expected_file)
             os.system( cmd )
             pdout = open('pd.out').read()
             os.remove( 'pd.out' )



More information about the mapserver-commits mailing list