[haiku-development] Re: Python for Haiku

  • From: "scott mc" <scottmc2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 8 Oct 2008 23:59:01 +0000

On Wed, Oct 8, 2008 at 10:36 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
>
> On 2008-10-08 at 19:07:06 [+0200], scott mc <scottmc2@xxxxxxxxx> wrote:
>> Using the python-2.5.2 binary that Michael Weirauch built and posted
>> on haikuports, I ran test_all.py in the tests folder.  It showed a few
>> fails but mostly passes and then tracker crashed.  I had to ctrl-c to
>> break out of it and then tried the test_posix.py test, here's the
>> results from that test, not sure if the 2 failures are due to
>> something not working right yet in our haiku build of python or is
>> it's something not right with Haiku yet.
>> There's a ton of tests included, another one that may or may not be of
>> interest is the errno test, I've included the results from that one as
>> well.
>> In case anyone wants to try out more of the tests, the binary is
>> posted on the haikuports download page, the tests are located in
>> /boot/common/lib/python2.5/test folder.  If these are Haiku bugs let
>> me know and I can file them as new tickets.
>> If you have trouble getting python from the haikuports site (it seems
>> to have trouble with larger files), you can try getting it from here:
>> http://www.fileden.com/files/2008/8/23/2062382/python-2.5.2-gcc2-2008-10-05.zip
>> -scottmc
>> ----------------------------------------------------------------------
>> Ran 21 tests in 0.417s
> [...]
>
> Mmh weird, the last time I played with python, there were way more than 21 
> tests
> and they certainly didn't finish in less than a second.
>
> CU, Ingo
>
>

That was only the output from 2 of the test programs, one test program
ran 21 tests.  There's 1103 files in the test folder, not all of them
are .py test files but many of them are....

I ran the testall.py script but it crashed out during one of the
threading tests.    I'm going to try and isolate any of the ones that
fail so we can narrow down the bug search.

-scottmc

Other related posts: