[Python-Dev] OS X buildbots: why am I skipping these tests?

"Martin v. Löwis" martin at v.loewis.de
Wed Jun 30 19:29:36 CEST 2010


Am 30.06.2010 13:32, schrieb exarkun at twistedmatrix.com:
> On 05:24 am, martin at v.loewis.de wrote:
>>> Seems to work fine.  So this I don't understand.  Any ideas, anyone?
>>
>> Didn't we discuss this before? The buildbot slave has no controlling
>> terminal anymore, hence it cannot open /dev/tty. If you are curious,
>> just patch your checkout to output the exact errno (e.g. to stdout),
>> and trigger a build through the web.
> 
> Could the test be rewritten (or supplemented) to use a pty?  Most or
> perhaps all of the same operations should be supported.

I'm not sure. It uses TIOCGPGRP, basically to establish that ioctl
can also put results into a Python array (IIUC). This goes back to
http://bugs.python.org/555817

Somebody rewriting it would need to make sure the original test purpose
is still met.

Regards,
Martin


More information about the Python-Dev mailing list