Re: winmm/tests: Don't complain for Wine drivers that allow multiple wave-out opens. (try 2)
16 Oct
2009
16 Oct
'09
9:44 a.m.
- 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
5991
Age (days ago)
5991
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan Tong