winmm/tests: Only test non-mapper devices in interactive mode.
Other devices might be less reliable, but we should generally expect WAVE_MAPPER to behave well. This also massively reduces test runtime, depending on how many devices are present.
This commit is contained in:
parent
b55a27a16a
commit
ace442f3b7
|
@ -1469,8 +1469,9 @@ static void wave_out_tests(void)
|
||||||
"waveOutOpen(%s): MMSYSERR_BADDEVICEID expected, got %s\n",
|
"waveOutOpen(%s): MMSYSERR_BADDEVICEID expected, got %s\n",
|
||||||
dev_name(ndev+1),mmsys_error(rc));
|
dev_name(ndev+1),mmsys_error(rc));
|
||||||
|
|
||||||
for (d=0;d<ndev;d++)
|
if(winetest_interactive)
|
||||||
wave_out_test_device(d);
|
for (d=0;d<ndev;d++)
|
||||||
|
wave_out_test_device(d);
|
||||||
|
|
||||||
if (ndev>0)
|
if (ndev>0)
|
||||||
wave_out_test_device(WAVE_MAPPER);
|
wave_out_test_device(WAVE_MAPPER);
|
||||||
|
|
Loading…
Reference in New Issue