[Patches] [ python-Patches-551977 ] Regression exceptions for cygwin

noreply@sourceforge.net noreply@sourceforge.net
Tue, 07 May 2002 06:21:05 -0700


Patches item #551977, was opened at 2002-05-03 19:19
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=551977&group_id=5470

Category: Tests
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerald S. Williams (gsw_agere)
Assigned to: Nobody/Anonymous (nobody)
Summary: Regression exceptions for cygwin

Initial Comment:
This patch updates regrtest.py to understand which 
tests are normally skipped under Cygwin. The list of 
tests was verified with the Cygwin Python maintainer.

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

>Comment By: Gerald S. Williams (gsw_agere)
Date: 2002-05-07 13:21

Message:
Logged In: YES 
user_id=329402

test_email_codecs is skipped unless the optional Japanese 
codecs are installed (this is also in the exceptions list 
for win32 and linux2).

Cygwin does not currently support large files, locales, or 
unicode file system semantics (test_unicode_file is also in 
the exceptions list for all but win32, test_locale is in 
most of them, and test_largefile is in *all* of them).

test_winreg is a stickier one. This is clearly specific to 
Windows, and the goal of Cygwin is to present a UNIX-like 
interface, not a Windows-like interface. There are patches 
that will enable this support under Cygwin Python, although 
they pull in quite a bit of the Windows-specific code and 
would create maintenance issues for Python's codebase. At 
present this is considered unsupported in Cygwin Python.

There are three additional tests that are in all or almost 
all of the exception lists:
 test_curses
 test_socket_ssl
 test_socketserver

These are disabled unless "-u" is used to specifically 
enable them. It appears that these should also be added to 
the list.

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-05-06 08:47

Message:
Logged In: YES 
user_id=21627

I'd like to hear the rationale for skipping

test_email_codecs
test_largefile
test_locale
test_unicode_file
test_winreg

All of those *should* work just fine; if they don't, this
indicates a bug in this port.

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

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