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

Nick Coghlan ncoghlan at gmail.com
Thu May 13 23:44:07 CEST 2010


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
---------------------------------------------------------------


More information about the Python-Dev mailing list