On Wed, Aug 4, 2010 at 10:36 PM, Joerg-Cyril.Hoehle@t-systems.com wrote:
Hi,
Wine's testbt job #4280 http://testbot.winehq.org/JobDetails.pl?Key=4280 contains both a patch and a binary for new MCICDA=MCI CD-audio tests.
It already contains most of what I want in the initial release but would benefit from testing on a broad range of native MS systems. Please invoke it as: mcicda_test.exe mcicda (it generates many failures on Wine but I already wrote several patches to fix them.)
Some failures are still possible as there are a few rough edges, e.g. mcicda.c:222: Test failed: info upc: 0=NOERROR mcicda.c:322: Test failed: PLAY data to 00291d10: MCIERR_OUTOFRANGE mcicda: 98 tests executed (0 marked as todo, 2 failures), 0 skipped.
It skips tests if
- there's no disk in drive;
- there are no audio tracks;
Untested: blank RW disk
Questions: - Is this patch right in mcicda/tests/ or should it be part of winmm/tests/? - Which kind of tests should I restrict to WINETEST_INTERACTIVE mode only? People may start to complain in the near future that running the Wine testsuite starts spinning their CD-ROM and even play music. (like somebody observed that the MIDI testsuite plays a few notes).
I noticed the midi notes playing, didn't think much of it.
Vista 32bit SP2: With a dual mode cd which has a data and audio tracks:
C:\Users\jeffz\Desktop>mcicda_test.exe mcicda.c:288: track #1 length 76134ms mcicda.c:355: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:361: Test failed: status mode during play is stopped mcicda.c:367: Waiting for delayed notification from pause should abort notification mcicda.c:367: Test failed: Expect message 0004 from pause should abort notification mcicda.c:381: Test failed: PLAY without parms: MCIERR_HARDWARE mcicda.c:390: Test failed: status mode after play is stopped mcicda.c:400: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:406: Test failed: SEEK to 1 notify: MCIERR_HARDWARE mcicda.c:413: Waiting for delayed notification from SEEK aborts mcicda.c:413: Test failed: Expect message 0004 from SEEK aborts mcicda.c:419: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:434: Test failed: got 0001 instead of MCI_NOTIFY_xyz 0002 from command dangling from PLAY mcicda.c:435: Waiting for delayed notification from status mode mcicda.c:435: Test failed: Expect message 0001 from status mode mcicda.c:447: last track length: 04m37s029f mcicda.c:455: Test failed: PLAY (TMSF) from 0000000c to 0925040c: MCIERR_HARDWARE mcicda.c:461: Test failed: status current track gave 1, expected 12 mcicda.c:466: Waiting for delayed notification from STOP notify mcicda.c:466: Test failed: Expect message 0004 from STOP notify mcicda: 90 tests executed (0 marked as todo, 14 failures), 0 skipped.
(Ran it twice, 14 failures each time).
Tried a different cd with audio tracks only:
C:\Users\jeffz\Desktop>mcicda_test.exe mcicda.c:222: Test failed: info upc: 0=NOERROR mcicda.c:288: track #1 length 252067ms mcicda.c:355: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:361: Test failed: status mode during play is stopped mcicda.c:367: Waiting for delayed notification from pause should abort notification mcicda.c:367: Test failed: Expect message 0004 from pause should abort notification mcicda.c:381: Test failed: PLAY without parms: MCIERR_HARDWARE mcicda.c:390: Test failed: status mode after play is stopped mcicda.c:400: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:406: Test failed: SEEK to 1 notify: MCIERR_HARDWARE mcicda.c:413: Waiting for delayed notification from SEEK aborts mcicda.c:413: Test failed: Expect message 0004 from SEEK aborts mcicda.c:419: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:434: Test failed: got 0001 instead of MCI_NOTIFY_xyz 0002 from command dangling from PLAY mcicda.c:435: Waiting for delayed notification from status mode mcicda.c:435: Test failed: Expect message 0001 from status mode mcicda.c:447: last track length: 04m54s0252f mcicda.c:455: Test failed: PLAY (TMSF) from 00000005 to 34360405: MCIERR_HARDWARE mcicda.c:461: Test failed: status current track gave 1, expected 5 mcicda.c:466: Waiting for delayed notification from STOP notify mcicda.c:466: Test failed: Expect message 0004 from STOP notify mcicda: 90 tests executed (0 marked as todo, 15 failures), 0 skipped.
(again, 15 failures with a repeated run).