[PATCH 1/5] user32/tests: Add tests for GetWindowPlacement() and SetWindowPlacement().

Alexandre Julliard julliard at winehq.org
Wed Feb 13 14:16:15 CST 2019


Zebediah Figura <z.figura12 at gmail.com> writes:

> On 2/10/19 1:39 PM, Marvin wrote:
>> Hi,
>>
>> While running your changed tests on Windows, I think I found new failures.
>> Being a bot and all I'm not very good at pattern recognition, so I might be
>> wrong, but could you please double-check?
>>
>> Full results can be found at:
>> https://testbot.winehq.org/JobDetails.pl?Key=47392
>>
>> Your paranoid android.
>>
>>
>> === wvistau64 (32 bit report) ===
>>
>> user32:
>> win.c:10796: Test failed: got minimized pos (0,713)
>> win.c:10808: Test failed: got minimized pos (0,713)
>> win.c:10820: Test failed: got minimized pos (0,713)
>> win.c:10833: Test failed: got minimized pos (0,713)
>> win.c:10846: Test failed: got minimized pos (0,713)
>> win.c:10859: Test failed: got minimized pos (0,713)
>> win.c:10872: Test failed: got minimized pos (0,713)
>> win.c:10906: Test failed: got minimized pos (100,100)
>> win.c:10928: Test failed: got minimized pos (100,100)
>>
>
> *snip*
>
> This fails because test_shell_window(), which is pretty pathological,
> kills explorer.exe, and that doesn't restart itself until the test
> program terminates. What can be done about this, if anything?

The obvious fix is to run your test before the one that kills the shell
window. Though if the behavior depends on having a shell window, it may
be interesting to test both cases.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list