[Python-bugs-list] [ python-Bugs-553242 ] make test failed
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 07 May 2002 09:27:29 -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: 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