From 53e5799949e812882d1fbfb3f4c76bf221df40f6 Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Wed, 3 Nov 2004 22:13:44 +0000 Subject: [PATCH] Don't consider a MMSYSERR_NOTSUPPORTED failure a test failure. --- dlls/winmm/tests/capture.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dlls/winmm/tests/capture.c b/dlls/winmm/tests/capture.c index 2dca642878c..a78ccfff2d3 100644 --- a/dlls/winmm/tests/capture.c +++ b/dlls/winmm/tests/capture.c @@ -598,9 +598,11 @@ static void wave_in_tests() "MMSYSERR_NOTSUPPORTED expected, got %s\n", dev_name(ndev+1),wave_in_error(rc)); else - ok(rc==MMSYSERR_BADDEVICEID || rc==MMSYSERR_NODRIVER, - "waveInGetDevCapsW(%s): MMSYSERR_BADDEVICEID or MMSYSERR_NODRIVER " - "expected, got %s\n",dev_name(ndev+1),wave_in_error(rc)); + ok(rc==MMSYSERR_BADDEVICEID || rc==MMSYSERR_NODRIVER || + rc==MMSYSERR_NOTSUPPORTED, + "waveInGetDevCapsW(%s): MMSYSERR_BADDEVICEID or MMSYSERR_NODRIVER or" + "MMSYSERR_NOTSUPPORTED expected, got %s\n", + dev_name(ndev+1),wave_in_error(rc)); format.wFormatTag=WAVE_FORMAT_PCM; format.nChannels=2;