[Python-bugs-list] [ python-Bugs-553242 ] make test failed

noreply@sourceforge.net noreply@sourceforge.net
Wed, 08 May 2002 00:01:39 -0700


Bugs item #553242, was opened at 2002-05-07 14:42
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=553242&group_id=5470

Category: Installation
Group: Python 2.2.1 candidate
>Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: Anh-Thu Tran (atran4)
Assigned to: Nobody/Anonymous (nobody)
Summary: make test failed

Initial Comment:
Hi,

I have make test failed on test_locale.  Please help.
Thank you.

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2002-05-07 20:41

Message:
Logged In: YES 
user_id=31435

That one is a known bug in the Tru64 C library -- it 
doesn't handle C "%o" formats correctly in all cases.  You 
can report it as a bug to your compiler supplier, but it's 
not a bug in Python.

----------------------------------------------------------------------

Comment By: Anh-Thu Tran (atran4)
Date: 2002-05-07 19:35

Message:
Logged In: YES 
user_id=537870

OK.  I attached the output file when running ./python ./Lib/test/test_format.py.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-05-07 19:18

Message:
Logged In: YES 
user_id=21627

Please run test_format separately and report the output.

----------------------------------------------------------------------

Comment By: Anh-Thu Tran (atran4)
Date: 2002-05-07 18:48

Message:
Logged In: YES 
user_id=537870

I also got the "make test" error when trying install Python 2.2.1 on Tru64 version 4.0. Please help.

1 test failed:
    test_format
23 tests skipped:
    test_al test_audioop test_cd test_cl test_curses test_dl test_gdbm
    test_gl test_gzip test_imageop test_imgfile test_linuxaudiodev
    test_locale test_ntpath test_rgbimg test_socket_ssl
    test_socketserver test_sunaudiodev test_unicode_file test_winreg
    test_winsound test_zipfile test_zlib
Ask someone to teach regrtest.py about which tests are
expected to get skipped on osf1V4.
*** Exit 1
Stop.


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-05-07 18:27

Message:
Logged In: YES 
user_id=21627

Thanks for reporting those details.

This is a known bug in Solaris 2.6: Even though it supports
the en_US locale, it incorrectly reports grouping
information. This bug has been fixed in later Solaris releases.

You don't need to worry about it; it is not a bug in Python.

----------------------------------------------------------------------

Comment By: Anh-Thu Tran (atran4)
Date: 2002-05-07 18:23

Message:
Logged In: YES 
user_id=537870

Below are what I got when running the command you suggested:

root@cdesrv2:/tmp/Python-2.2.1
--> ./python Lib/test/test_locale.py
'%f' % 1024 =? '1,024.000000' ... no
'%f' % 1024 == '1024.000000' != '1,024.000000'
'%f' % 102 =? '102.000000' ... yes
'%f' % -42 =? '-42.000000' ... yes
'%+f' % -42 =? '-42.000000' ... yes
'%20.f' % -42 =? '                 -42' ... yes
'%+10.f' % -4200 =? '    -4,200' ... no
'%+10.f' % -4200 == '    -4200' != '    -4,200'
'%-10.f' % 4200 =? '4,200     ' ... no
'%-10.f' % 4200 == '4200     ' != '4,200     '

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-05-07 18:16

Message:
Logged In: YES 
user_id=21627

Can you please run

./python Lib/test/test_locale.py

in your build directory, and report the output?


----------------------------------------------------------------------

Comment By: Anh-Thu Tran (atran4)
Date: 2002-05-07 15:51

Message:
Logged In: YES 
user_id=537870

I tried to install python 2.2.1 on Sun OS 5.6.  I got the error messages when running "make test"
1 test failed:
    test_locale
25 tests skipped:
    test_al test_audioop test_bsddb test_cd test_cl test_curses
    test_dl test_gdbm test_gl test_gzip test_imgfile test_largefile
    test_linuxaudiodev test_minidom test_ntpath test_openpty
    test_pyexpat test_sax test_socket_ssl test_socketserver
    test_sunaudiodev test_winreg test_winsound test_zipfile test_zlib
Ask someone to teach regrtest.py about which tests are
expected to get skipped on sunos5.
*** Error code 1
make: Fatal error: Command failed for target `test'


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-05-07 15:11

Message:
Logged In: YES 
user_id=21627

Please report details: What operating system, what Python
release, how does it fail?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=553242&group_id=5470