errors when doing 'make test' 
Author Message
 errors when doing 'make test'

I've downloaded the latest CVS snapshot. I was able to compile without
any problems
and everything seems to be okay. I can run and use python. However, when
I do 'make test'
as the README says, I get these 2 errors:

2 tests failed: test_types test_long

I did the following to determine the exact problem:

$ python
6. Built-in types
6.1 Truth value testing
6.2 Boolean operations
6.3 Comparisons
6.4 Numeric types (mostly conversions)
6.4.1 32-bit integers
6.4.2 Long integers
Traceback (innermost last):
  File "", line 89, in ?
    if int(long(x)) != x: raise TestFailed, 'long op'
OverflowError: long int too long to convert
$ python
long / * % divmod
long bit-operation identities
long str/hex/oct/atol
long miscellaneous operations
Traceback (innermost last):
  File "", line 257, in ?
  File "", line 231, in test_misc
    raise TestFailed, "int(long(-sys.maxint-1)) overflowed!"
test_support -- test failed: int(long(-sys.maxint-1)) overflowed!

These errors seem to be related to 'sys.maxint'. In my box its value is:


My system:

pgcc-2.91.66 19990314 (egcs-1.1.2 release)) #1 Mon Jun 14 16:44:05 CEST
Detected 350805109 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 699.60 BogoMIPS
Memory: 63164k/65472k available (964k kernel code, 408k reserved, 888k
data, 48k init)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: AMD AMD-K6(tm) 3D processor stepping 0c

My python installation:
Python 1.5.2+ (#2, Feb  5 2000, 02:07:33)  [GCC pgcc-2.91.66 19990314
(egcs-1.1.2 release)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam

I hope someone could tell me what's wrong with my installation. Thanks!

Wed, 24 Jul 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Testing, I know I keep doing it but I'm tesating :-)

2. R6003 error on HP WinMe (I've already done the usual)

3. HttpDist - getting errors, What I'm doing wrong

4. 'C'/'C++', ADA OPPORTUNITIES/Phoenix(Software Developer/Integration Test Engineer)

5. Will setting $test change $_REQUEST['test']

6. 'make test' bombs in scan.test

7. Have you ever done 'namespace delete ::'?

8. failure in test_long under gcc (was RE: errors when doing 'make test')

9. Making the attribute 'self' preferred

10. does 'making image consistent' harm fixes

11. Making 'Multiple' ScalarInterpolator...(HANIM)


Powered by phpBB® Forum Software