Mailing List Archive

Python 1.5.2 failes tests
On Tue, 4 May 1999, Lance Ellinghaus wrote:

> I grabbed the latest and final 1.5.2 and compiled it on Solaris 2.6 using the
> SunPro C compiler.
> It passes every test except 'popen2'. It gives me an Assertion Error. Here is
> part of the test run.
>
> Has anyone solved this?
>

I had the same problem with AIX 4.x. Doing a "make clean" followed by a
"make" fixed the problem.

--- Robert


--------------------------------
Robert Meegan
MCIWorldCom - Cedar Rapids, Iowa
319.375.2416
Python 1.5.2 failes tests [ In reply to ]
I grabbed the latest and final 1.5.2 and compiled it on Solaris 2.6 using the
SunPro C compiler.
It passes every test except 'popen2'. It gives me an Assertion Error. Here is
part of the test run.

Has anyone solved this?

Thank you,
Lance

test_pkg
test_popen2
test test_popen2 crashed -- exceptions.AssertionError :
test_pow
test_pwd
Python 1.5.2 failes tests [ In reply to ]
Lance Ellinghaus wrote:
>
> I grabbed the latest and final 1.5.2 and compiled it on Solaris 2.6 using the
> SunPro C compiler.
> It passes every test except 'popen2'. It gives me an Assertion Error. Here is
> part of the test run.
>
> Has anyone solved this?

I think that has been solved. An update to the CVS tree has been
made on Apr. 20, which means it isn't in the 1.5.2 distribution.
From the python-checkins list:

Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
popen2.py
Log Message:
Calling _cleanup() does not guarantee that all processes have
terminated; this makes the final assert in the self-test code fail if
the parent runs faster than the children. Fix this by calling wait()
on the remaining children instead.

ciao - chris

--
Christian Tismer :^) <mailto:tismer@appliedbiometrics.com>
Applied Biometrics GmbH : Have a break! Take a ride on Python's
Kaiserin-Augusta-Allee 101 : *Starship* http://starship.python.net
10553 Berlin : PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF
we're tired of banana software - shipped green, ripens at home
Python 1.5.2 failes tests [ In reply to ]
Christian Tismer <tismer@appliedbiometrics.com> writes:

> Lance Ellinghaus wrote:
[...]
> > Has anyone solved this?
>
> I think that has been solved. An update to the CVS tree has been
> made on Apr. 20, which means it isn't in the 1.5.2 distribution.

Which reminds me. I am very soon going to disappear on a
series of trips that will take me mostly off-line until June 1. (See
you in Paris! http://www.onera.fr/congres/jpf001/)

Could someone with access to the CVS tree create a selection of
essential patches and put it up on e.g. starship?
The webmaster at python.org will gladly link to it.

--Guido van Rossum (home page: http://www.python.org/~guido/)
Python 1.5.2 failes tests [ In reply to ]
According to Lance Ellinghaus <Lance_Ellinghaus@marshall.com>:
> I grabbed the latest and final 1.5.2 and compiled it on Solaris 2.6 using the
> SunPro C compiler.
> It passes every test except 'popen2'. It gives me an Assertion Error. Here is
> part of the test run.
>
> Has anyone solved this?
>
> test_pkg
> test_popen2
> test test_popen2 crashed -- exceptions.AssertionError :
> test_pow
> test_pwd

Bah, that's nothing... the popen2 test hangs under BeOS. :-)

--
----------================================================---------- _
Chris Herborth, R&D, Technical Writing | \ _
Arcane Dragon Software Arcane Dragon -==(UDIC)==- | < /_\
arcane dragon at home dot com DNRC Holder of Past Knowledge |_/ \_