Andrew Straw wrote: >> I am attempting to get a collective.buildbot service working on the >> Matplotlib trunk (branches could be enabled in the future) and James >> Evans' test suite. Right there are errors that prevent the test suite >> from even being run.
I believe I have enabled the unit test to properly run on the buildbot, but it requires a patch to the buildout recipe (pbp.recipe.noserunner) that runs the tests. I sent the patch to the author of pbp.recipe.noserunner, so hopefully a new release will appear shortly and I can take Ryan on John up on their offers of buildslaves, which I'll coordinate off-list when the time is right. In the meantime, the essential part of the pbp.recipe.noserunner patch is: diff -r 8e8141beee8d packages/pbp.recipe.noserunner/pbp/recipe/noserunner/__init__.py --- a/packages/pbp.recipe.noserunner/pbp/recipe/noserunner/__init__.py Wed May 13 12:03:55 2009 +0200 +++ b/packages/pbp.recipe.noserunner/pbp/recipe/noserunner/__init__.py Wed May 20 15:08:27 2009 -0700 @@ -61,6 +61,13 @@ if initialization_section: initialization += initialization_section + plugins = options.get('plugins', '') + plugins = [plugin.strip() for plugin in plugins.split('\n') if plugin.strip() != ''] + + if len(plugins): + plugin_str = ','.join( plugins ) + defaults += ", plugins=[%s]"%plugin_str + dest.extend(zc.buildout.easy_install.scripts( [(options['script'], 'nose', 'main')], ws, options['executable'], If you've applied that, you'll have to add to the "develop" section of the buildout file the line "/path/to/pbp.recipe.noserunner" (in addition to the "."). From there, it's standard zc.buildout recipes in the MPL dir: python bootstrap.py # create bin/buildout bin/buildout # build MPL and create bin/test bin/test # run the unit tests Since these are the steps that the buildbot follows, this should also work on the build slaves once we no longer need the custom pbp.recipe.noserunner. If it looks like it'll be a while before a new pbp.recipe.noserunner is released, I think we could temporarily host a patched version and direct buildout to it with the find-links option. -Andrew ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel