summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-03-11 14:46:48 (GMT)
committerGuido van Rossum <guido@python.org>2003-03-11 14:46:48 (GMT)
commit315aa361fc60d3328aad3a5dcfd42f08213c25fb (patch)
tree2d11f667515ea16abf7dcbd3f5015b09c0f7192a /Lib
parent47e5987256e6faf99bc8e474fd8351aa39808785 (diff)
downloadcpython-315aa361fc60d3328aad3a5dcfd42f08213c25fb.zip
cpython-315aa361fc60d3328aad3a5dcfd42f08213c25fb.tar.gz
cpython-315aa361fc60d3328aad3a5dcfd42f08213c25fb.tar.bz2
Add 'audio' resource.
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!
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 4a8bc75..c2d546d 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -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=''):