Today I committed to svn a simplified testing infrastructure, which I've committed to matplotlib/testing/*. A few sample tests are in matplotlib/tests/*. I also wrote some docs, which are now in the developer coding guide. See that ( http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/doc/devel/coding_guide.rst?revision=7654&view=markup , starting at line 675) for information about how to write tests.
Now, I have a question. As currently written, the baseline (a.k.a. expected) images are stored in the sample_data directory and matplotlib.cbook.get_sample_data() downloads the images. However, I suspect that the Mac Sage buildslave doesn't like to download stuff while not in an interactive login. (Remember the initial problems running tests on that machine?) That's probably a good indication that we probably don't want to require network access to run the tests. So, the next question is whether we want to install baseline images with standard MPL installs so that any user can run the full test suite? That would be my preference, as it would be the simplest and most robust to implement, but it comes at the cost of using additional disk space. Otherwise, I'm open to suggestions. (John, to confirm my suspicions about the network access issue, could you ssh into the Sage Mac and run test/_buildbot_mac_sage.sh by hand to see if that eliminates the bus error we're getting when run from the buildbot?) -Andrew ------------------------------------------------------------------------------ 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-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel