]> granicus.if.org Git - python/commitdiff
- The audio driver tests (test_ossaudiodev.py and
authorGuido van Rossum <guido@python.org>
Fri, 14 Feb 2003 19:29:22 +0000 (19:29 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Feb 2003 19:29:22 +0000 (19:29 +0000)
  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

Lib/test/regrtest.py
Lib/test/test_linuxaudiodev.py
Lib/test/test_ossaudiodev.py
Misc/NEWS

index c60e8242081e1b8ccba33bb24cc57ea9d79c3fa7..00847fcf8c1dee5288e21c2ce7d81543bfd41241 100755 (executable)
@@ -591,8 +591,10 @@ _expectations = {
         test_gl
         test_imgfile
         test_largefile
+        test_linuxaudiodev
         test_nis
         test_ntpath
+        test_ossaudiodev
         test_socketserver
         test_sunaudiodev
         test_unicode_file
index 9f44629dfc40d518a5fb9390e0f44c25fb5e3b36..1a11e8f03862cb7085f7656ea0ae2bbe6484cfe8 100644 (file)
@@ -1,3 +1,6 @@
+from test import test_support
+test_support.requires('audio')
+
 from test.test_support import verbose, findfile, TestFailed, TestSkipped
 
 import errno
index ed8f77070ae01467334b3f0114360b645c4a1048..51fdab2bcf898ce0de107394480af9f44b0fbbcb 100644 (file)
@@ -1,3 +1,6 @@
+from test import test_support
+test_support.requires('audio')
+
 from test.test_support import verbose, findfile, TestFailed, TestSkipped
 
 import errno
index 005a7686f29bc66f37a496b91588edf06a5e36de..ee7f2cb05974d7981760516404a999187a88dae5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -284,6 +284,12 @@ Tools/Demos
 Build
 -----
 
+- 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
+
 - On systems which build using the configure script, compiler flags which
   used to be lumped together using the OPT flag have been split into two
   groups, OPT and BASECFLAGS.  OPT is meant to carry just optimization- and