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:
Andrew Eikum 2013-04-26 13:08:56 -05:00 committed by Alexandre Julliard
parent b55a27a16a
commit ace442f3b7
1 changed files with 3 additions and 2 deletions

View File

@ -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);