From 4507ec70cff35468f4b1767382f38ecebd4a29a2 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 14 Feb 2003 19:29:22 +0000 Subject: [PATCH] - 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 --- Lib/test/regrtest.py | 2 ++ Lib/test/test_linuxaudiodev.py | 3 +++ Lib/test/test_ossaudiodev.py | 3 +++ Misc/NEWS | 6 ++++++ 4 files changed, 14 insertions(+) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index c60e824208..00847fcf8c 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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 diff --git a/Lib/test/test_linuxaudiodev.py b/Lib/test/test_linuxaudiodev.py index 9f44629dfc..1a11e8f038 100644 --- a/Lib/test/test_linuxaudiodev.py +++ b/Lib/test/test_linuxaudiodev.py @@ -1,3 +1,6 @@ +from test import test_support +test_support.requires('audio') + from test.test_support import verbose, findfile, TestFailed, TestSkipped import errno diff --git a/Lib/test/test_ossaudiodev.py b/Lib/test/test_ossaudiodev.py index ed8f77070a..51fdab2bcf 100644 --- a/Lib/test/test_ossaudiodev.py +++ b/Lib/test/test_ossaudiodev.py @@ -1,3 +1,6 @@ +from test import test_support +test_support.requires('audio') + from test.test_support import verbose, findfile, TestFailed, TestSkipped import errno diff --git a/Misc/NEWS b/Misc/NEWS index 005a7686f2..ee7f2cb059 100644 --- 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 -- 2.50.1