winmm/tests: Don't complain for Wine drivers that allow multiple wave-out opens. (try 2)
Allan Tong
actong88 at gmail.com
Fri Oct 16 09:44:57 CDT 2009
> - todo_wine ok(ret == MMSYSERR_NOERROR || broken(ret == MMSYSERR_ALLOCATED), /* winME */
> - "waveOutOpen returns: %x\n", ret);
> - if (ret == MMSYSERR_NOERROR)
> + if (ret != MMSYSERR_NOERROR)
> + {
> + todo_wine ok(ret == MMSYSERR_NOERROR || broken(ret == MMSYSERR_ALLOCATED), /* winME */
> + "second waveOutOpen returns: %x\n", ret);
> + }
> + else
> waveOutClose(handle2);
Should there be an ok(TRUE) in the else clause to keep track that the
test succeeded?
- Allan
More information about the wine-devel
mailing list