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