Re: status update
Quest <[email protected]> Tue, 18 Mar 2003 22:18:23 +0100
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Organization | Pantheon |
| Message-ID | <[email protected]> |
Neal Norwitz <[email protected]> writes: > Here's a description of known problems/issues in the snake farm > and what's happening to solve them. > > Solaris: > Tests aren't running on Solaris due to the tests hanging. > This problem should now be fixed. The tests should no > longer hang. They may be two failures. I have seen > test_logging fail intermitantly. I believe this is > a test problem that has nothing to due with Solaris. > test_pty fails. I believe this can be fixed with > http://python.org/sf/671384 However, Martin von Loewis > is probably the best person to review this patch and > he is on vacation. > > Tests should be now be re-enabled. > > HP-UX: > Tests are failing on HP-UX due to a similar problem as > Solaris. The same should fix the test_pty problem on HP-UX. > > I believe the tests are disabled, at least on taylor. > Once the patch is checked in, all HP-UX machines should > run the tests. test_pty hangs on hp/ux but not on solaris. It seems we are talking about the problem mentioned above: test_pty bTraceback (most recent call last): File "../python/dist/src/Lib/test/regrtest.py", line 1012, in ? main() File "../python/dist/src/Lib/test/regrtest.py", line 260, in main ok = runtest(test, generate, verbose, quiet, testdir) File "../python/dist/src/Lib/test/regrtest.py", line 390, in runtest the_package = __import__(abstest, globals(), locals(), []) File "/mp/slaskdisk/tmp/quest/python/dist/src/Lib/test/test_pty.py", line 28, in ? if not os.isatty(slave_fd): KeyboardInterrupt However, Neal's test will not trigger the problem, nor will running the test alone: [ 22:08 ] - ./python Python 2.3a2+ (#1, Mar 18 2003, 21:07:27) [C] on hp-ux11 Type "help", "copyright", "credits" or "license" for more information. >>> import pty, os >>> master_fd, slave_name = pty.master_open() >>> slave_fd = pty.slave_open(slave_name) >>> print os.isatty(slave_fd) True [ 22:17 ] - ./python ../python/dist/src/Lib/test/regrtest.py test_pty test_pty 1 test OK. [ 22:17 ] - ./python ../python/dist/src/Lib/test/regrtest.py -v test_pty test_pty Calling master_open() Got master_fd '4', slave_name '/dev/pts/4' Calling slave_open('/dev/pts/4') Got slave_fd '5' Writing to slave_fd Writing chunked output I wish to buy a fish license. For my pet fish, Eric. calling pty.fork() Waiting for child (1497) to finish. Child (1497) exited with status 4 (1024). 1 test OK. CAUTION: stdout isn't compared in verbose mode: a test that passes in verbose mode may fail without it. -- Anders "Quest" Qvist http://www.lysator.liu.se/~sfarmer