[Python-Dev] configuring the buildbot to skip some tests?
"Martin v. Löwis"
martin at v.loewis.de
Thu May 13 16:42:18 CEST 2010
>> 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).
Regards,
Martin
More information about the Python-Dev
mailing list