[Python-Dev] configuring the buildbot to skip some tests?

Vincent Davis vincent at vincentdavis.net
Fri May 14 06:47:18 CEST 2010


Not to interrupt you  you conversation but I am interested in setting
up a buildbot on one of my Macs. Is there any documentations or advise
that is different from that of a linux machine?  Any advise would be
appreciated.
Thanks
Vincent


On Thu, May 13, 2010 at 3:44 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Martin v. Löwis wrote:
>>>> I've got parc-tiger-1 up and running again.  It's failing on test_tk,
>>>> which makes sense, because it's running as a background twisted process,
>>>> and thus can't access the window server.  I should configure that out.
>>>>
>>>> I'm looking for documentation on how to configure the build slave so
>>>> that it skips this test.
>>> It may be better to try to detect the "no window server" case and skip
>>> it in the test itself rather than in the build slave configuration.
>>
>> Even better would be if Python wouldn't crash when you try to run Tk
>> commands without a window server. Instead of aborting Python, that
>> should raise an exception (which can then be detected as a test skip).
>
> Yes, when I commented I didn't realise that "failing" in this case
> actually meant "crashing" :P
>
> Regards,
> Nick.
>
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> ---------------------------------------------------------------
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/vincent%40vincentdavis.net
>


More information about the Python-Dev mailing list