[Python-checkins] python/dist/src/Lib/test test_linuxaudiodev.py,1.8,1.9 test_ossaudiodev.py,1.3,1.4 regrtest.py,1.125,1.126

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Fri, 14 Feb 2003 11:29:24 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv16303/Lib/test

Modified Files:
	test_linuxaudiodev.py test_ossaudiodev.py regrtest.py 
Log Message:
- The audio driver tests (test_ossaudiodev.py and
  test_linuxaudiodev.py) are no longer run by default.  This is
  because they don't always work, depending on your hardware and
  software.  To run these tests, you must use an invocation like
    ./python Lib/test/regrtest.py -u audio test_ossaudiodev


Index: test_linuxaudiodev.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_linuxaudiodev.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_linuxaudiodev.py	23 Jul 2002 19:03:56 -0000	1.8
--- test_linuxaudiodev.py	14 Feb 2003 19:29:22 -0000	1.9
***************
*** 1,2 ****
--- 1,5 ----
+ from test import test_support
+ test_support.requires('audio')
+ 
  from test.test_support import verbose, findfile, TestFailed, TestSkipped
  

Index: test_ossaudiodev.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_ossaudiodev.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test_ossaudiodev.py	8 Jan 2003 07:09:43 -0000	1.3
--- test_ossaudiodev.py	14 Feb 2003 19:29:22 -0000	1.4
***************
*** 1,2 ****
--- 1,5 ----
+ from test import test_support
+ test_support.requires('audio')
+ 
  from test.test_support import verbose, findfile, TestFailed, TestSkipped
  

Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -d -r1.125 -r1.126
*** regrtest.py	13 Feb 2003 16:12:21 -0000	1.125
--- regrtest.py	14 Feb 2003 19:29:22 -0000	1.126
***************
*** 592,597 ****
--- 592,599 ----
          test_imgfile
          test_largefile
+         test_linuxaudiodev
          test_nis
          test_ntpath
+         test_ossaudiodev
          test_socketserver
          test_sunaudiodev