Revision: 7963
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7963&view=rev
Author:   astraw
Date:     2009-11-13 00:44:11 +0000 (Fri, 13 Nov 2009)

Log Message:
-----------
testing bugfix: buildbot postmortem uses new file locations from r7830

Modified Paths:
--------------
    trunk/matplotlib/test/_buildbot_test_postmortem.py

Modified: trunk/matplotlib/test/_buildbot_test_postmortem.py
===================================================================
--- trunk/matplotlib/test/_buildbot_test_postmortem.py  2009-11-13 00:44:03 UTC 
(rev 7962)
+++ trunk/matplotlib/test/_buildbot_test_postmortem.py  2009-11-13 00:44:11 UTC 
(rev 7963)
@@ -81,9 +81,13 @@
     # new matplotlib.testing infrastructure
 
     os.chdir('test')
-    for fname in glob.glob('*.png'):
-        absdiff_fname = diff_basename + fname
-        expected_fname = expected_basename + fname
+    for fname in get_recursive_filelist(['result_images']):
+        # only images
+        if not fname.endswith('.png'): continue
+
+        result_dir, result_fname = os.path.split(fname)
+        absdiff_fname = os.path.join( result_dir, diff_basename + result_fname)
+        expected_fname = os.path.join( result_dir, expected_basename + 
result_fname)
         if not os.path.exists(absdiff_fname):
             continue
         if not os.path.exists(expected_fname):


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to