[4/4] ntdll: Properly set flag which indicates buffer empty state.

Wolfgang Walter wine at stwm.de
Tue Aug 27 16:17:36 CDT 2013


On Tuesday 27 August 2013 21:14:05 Alexandre Julliard wrote:
> Dmitry Timoshkov <dmitry at baikal.ru> writes:
> > ---
> > 
> >  dlls/kernel32/tests/comm.c |  5 +----
> >  dlls/ntdll/serial.c        | 13 +++++--------
> >  2 files changed, 6 insertions(+), 12 deletions(-)
> 
> It doesn't work here:
> 
> ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p
> kernel32_test.exe.so comm.c && touch comm.ok comm.c:835: Test failed:
> WriteFile took 1 ms to write 17 Bytes at 150 Baud comm.c:848: Test failed:
> WaitCommEvent failed with a timeout
> comm.c:859: Test failed: WaitCommEvent error 997
> comm.c:860: Test failed: WaitCommEvent: expected EV_TXEMPTY, got 0
> comm.c:865: Test failed: WaitCommEvent used 1000 ms for waiting
> comm.c:1895: Tests skipped: interactive tests (set WINETEST_INTERACTIVE=1)
> make: *** [comm.ok] Error 5

I think TIMEOUT (1s) in kernel32/tests/comm.c is too short and the test for < 
900, too.

Here it tooks often 1100 milliseconds and more (with vanilla 1.6). And I 
checked the actual git-tree: the test fails here, too (but not always).


Regards,
-- 
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Recht
Abteilungsleiter IT
Leopoldstraße 15
80802 München



More information about the wine-devel mailing list