]> granicus.if.org Git - python/commitdiff
Add 'audio' resource.
authorGuido van Rossum <guido@python.org>
Tue, 11 Mar 2003 14:46:48 +0000 (14:46 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 11 Mar 2003 14:46:48 +0000 (14:46 +0000)
ALERT! A month ago or so I made test_ossaudiodev.py require the
'audio' resource, but I didn't make the necessary changes to
regrtest.py.  This means that *nobody* has been testing the oss module
all that time!

Lib/test/regrtest.py

index 4a8bc755c67230ecdfc5bb8916901de459b141a5..c2d546d577be61cc9de5b0c0dd7c00bbe2e4a0e2 100755 (executable)
@@ -46,6 +46,10 @@ resources to test.  Currently only the following are defined:
 
     all -       Enable all special resources.
 
+    audio -     Tests that use the audio device.  (There are known
+                cases of broken audio drivers that can crash Python or
+                even the Linux kernel.)
+
     curses -    Tests that use curses and will modify the terminal's
                 state and output modes.
 
@@ -101,7 +105,7 @@ if sys.platform == 'darwin':
 
 from test import test_support
 
-RESOURCE_NAMES = ('curses', 'largefile', 'network', 'bsddb')
+RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb')
 
 
 def usage(code, msg=''):