Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
tests failed
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rajeev Singh  
View profile  
 More options May 18 2012, 5:37 am
From: Rajeev Singh <rajs2...@gmail.com>
Date: Fri, 18 May 2012 02:37:50 -0700 (PDT)
Local: Fri, May 18 2012 5:37 am
Subject: tests failed

Hi,

I have installed the shedskin-0.9.2 and ran all the tests. Two of the tests
failed -

*** tests failed: 2
[196, 199]

Is it a known isssue? I am on a Debian machine and tried with both
python-2.6 and 2.7.

Rajeev


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dufour  
View profile  
 More options May 28 2012, 7:39 pm
From: Mark Dufour <mark.duf...@gmail.com>
Date: Tue, 29 May 2012 01:39:28 +0200
Local: Mon, May 28 2012 7:39 pm
Subject: Re: tests failed
hi rajeev,

sorry for the delayed reply!

what errors/differences do you see when running these tests
separately..? (e.g. shedskin 196 && make && ./196 compared to python
196.py).

thanks for mentioning in any case,
mark.

--
http://www.youtube.com/watch?v=E6LsfnBmdnk

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rajeev Singh  
View profile  
 More options Jun 3 2012, 5:54 am
From: Rajeev Singh <rajs2...@gmail.com>
Date: Sun, 3 Jun 2012 15:24:03 +0530
Local: Sun, Jun 3 2012 5:54 am
Subject: Re: tests failed
Hi,

The differences/errors are following -

For 196 -

$ ./196 > 196_shedskin_out
$ python 196.py > 196_python_out
$ diff 196_shedskin_out 196_python_out
147c147
< linux2
---

> linux3

For 199 -
$ python 199.py > 199_python_out
Traceback (most recent call last):
  File "199.py", line 12, in <module>
    decompressor(open('testdata/binas', 'rb'))
IOError: [Errno 2] No such file or directory: 'testdata/binas'

Rajeev


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dufour  
View profile  
 More options Jun 3 2012, 9:15 am
From: Mark Dufour <mark.duf...@gmail.com>
Date: Sun, 3 Jun 2012 15:15:32 +0200
Local: Sun, Jun 3 2012 9:15 am
Subject: Re: tests failed
hi rajeev,

> $ ./196 > 196_shedskin_out
> $ python 196.py > 196_python_out
> $ diff 196_shedskin_out 196_python_out
> 147c147
> < linux2
> ---
>> linux3

apparently sys.platform returns 'linux3' with your version of python,
where shedskin always returns 'linux2' under linux. on my system,
sys.platform also returns 'linux2' with cpython, even though I'm on
linux 3.. anyone interested in looking into this?

> $ python 199.py > 199_python_out
> Traceback (most recent call last):
>  File "199.py", line 12, in <module>
>    decompressor(open('testdata/binas', 'rb'))
> IOError: [Errno 2] No such file or directory: 'testdata/binas'

ah ok, this is because I forgot to commit this test file to GIT
earlier. so that's no real problem either..

thanks in any case for reporting!
mark.
--
http://www.youtube.com/watch?v=E6LsfnBmdnk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Spura  
View profile  
 More options Jun 3 2012, 3:27 pm
From: Thomas Spura <thomas.sp...@googlemail.com>
Date: Sun, 3 Jun 2012 21:27:47 +0200
Local: Sun, Jun 3 2012 3:27 pm
Subject: Re: tests failed

On Sun, Jun 3, 2012 at 3:15 PM, Mark Dufour <mark.duf...@gmail.com> wrote:
> hi rajeev,

>> $ ./196 > 196_shedskin_out
>> $ python 196.py > 196_python_out
>> $ diff 196_shedskin_out 196_python_out
>> 147c147
>> < linux2
>> ---
>>> linux3

> apparently sys.platform returns 'linux3' with your version of python,
> where shedskin always returns 'linux2' under linux. on my system,
> sys.platform also returns 'linux2' with cpython, even though I'm on
> linux 3.. anyone interested in looking into this?

Nope, this is a python bug and fixed in newer releases - it seems
debian needs an update :)
http://hg.python.org/cpython/rev/c816479f6aaf

Greetings,
    Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dufour  
View profile  
 More options Jun 3 2012, 4:55 pm
From: Mark Dufour <mark.duf...@gmail.com>
Date: Sun, 3 Jun 2012 22:55:30 +0200
Local: Sun, Jun 3 2012 4:55 pm
Subject: Re: tests failed

> Nope, this is a python bug and fixed in newer releases - it seems
> debian needs an update :)
> http://hg.python.org/cpython/rev/c816479f6aaf

it's also a shedskin bug.. :-)

in lib/sys.cpp:

#ifdef __linux__
    platform = new str("linux2");
#endif

thanks!
mark.
--
http://www.youtube.com/watch?v=E6LsfnBmdnk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Spura  
View profile  
 More options Jun 4 2012, 3:26 pm
From: Thomas Spura <thomas.sp...@googlemail.com>
Date: Mon, 4 Jun 2012 21:26:03 +0200
Local: Mon, Jun 4 2012 3:26 pm
Subject: Re: tests failed

On Sun, Jun 3, 2012 at 10:55 PM, Mark Dufour <mark.duf...@gmail.com> wrote:
>> Nope, this is a python bug and fixed in newer releases - it seems
>> debian needs an update :)
>> http://hg.python.org/cpython/rev/c816479f6aaf

> it's also a shedskin bug.. :-)

> in lib/sys.cpp:

> #ifdef __linux__
>    platform = new str("linux2");
> #endif

AFAIK, for python2 this is just fine. Just python3 needs to be
"linux", but as shedskin doesn't support that anyway, it's not a but
(yet) :)

Greetings,
   Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dufour  
View profile  
 More options Jun 11 2012, 11:59 am
From: Mark Dufour <mark.duf...@gmail.com>
Date: Mon, 11 Jun 2012 17:59:01 +0200
Local: Mon, Jun 11 2012 11:59 am
Subject: Re: tests failed
hi thomas,

> AFAIK, for python2 this is just fine. Just python3 needs to be
> "linux", but as shedskin doesn't support that anyway, it's not a but
> (yet) :)

yeah, it's not very important, but the test fails on an easily fixable
difference between cpython and shedskin behaviour.. so I consider it a
(minor) bug.

thanks,
mark.
--
http://www.youtube.com/watch?v=E6LsfnBmdnk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »