[Patches] [ python-Patches-533165 ] add expected test failures on solaris 8

noreply@sourceforge.net noreply@sourceforge.net
Fri, 22 Mar 2002 09:48:10 -0800


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

Category: Tests
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: add expected test failures on solaris 8

Initial Comment:
This patch makes the following skipped tests expected
on sunos5:

test_al test_bsddb test_cd test_cl test_gl 
test_imgfile test_linuxaudiodev test_nis
test_openpty test_winreg test_winsound

I'll try to fix the problem that sunos5 should really
be something like sunos5.6, 5.7, 5.8, etc.

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-03-22 12:48

Message:
Logged In: YES 
user_id=33168

I agree that this the skipped test is inadequate, but
this is more of a general problem.  I actually used linux2
as the template.  But only applied the tests which really
failed on the sun.  linux2 also adds that curses,
socket_ssl, socketserver to the list, even those these are
probably successful with the -u curses -u network flags.

I could certainly pare down the list to not include nis, bsddb.
Are you saying that you would like new code added to
regrtest.py to handle TestUnavailable or something like
that?  So if NIS is not available it would raise this
exception.  This is probably a good idea, but would mean a
bunch of tests being modified and mostly getting rid of the
current known skipped list.

If you want to head down this route, I suggest closing this
patch.  We can start a discussion on python-dev or at least
ask if anyone has a problem with the approach.

Also, we should fix the problem you noted before that sunos5
is not sufficient.  We need to be more fine grained, ie,
5.6, 5.7, 5.8.

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-03-22 12:26

Message:
Logged In: YES 
user_id=21627

-1. The list of skipped modules will vary widely across
installations, even if you take Solaris versions into account.

For example, test_nis will pass for many users, since NIS is
really common in Solaris environments. Likewise, bsddb tests
will pass if bsddb is installed in /usr/local.

OTOH, test_sunaudiodev is known to fail on server systems
which don't have a /dev/audio.

Instead, I would like to see a more flexible scheme for
expected skips, which includes detection that some resources
are unavailable - if that is the cause, the skipped test
does not indicate a problem with the Python installation.


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

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