[PATCH 2/4] user32/tests: Use wine_{push,pop}_context() to simplify test_synthesized().
Rémi Bernon
rbernon at codeweavers.com
Fri Jun 4 02:56:15 CDT 2021
On 6/4/21 9:55 AM, Rémi Bernon wrote:
> On 6/3/21 4:27 PM, Francois Gouget wrote:
>> @@ -744,45 +745,46 @@ static void test_synthesized(void)
>> }
>> count = CountClipboardFormats();
>> - ok( count == 1, "%u: count %u\n", i, count );
>> + ok( count == 1, "count %u\n", count );
>> r = CloseClipboard();
>> - ok(r, "%u: gle %d\n", i, GetLastError());
>> + ok(r, "gle %d\n", GetLastError());
>
> Not directly related, but I was thinking could maybe winetest call and
> print GetLastError automatically and consistently on failing tests?
>
> It's done a lot, maybe not everywhere but sometimes it's missing and
> could be a useful information (although sometimes it's not, but it
> probably won't hurt?).
And/or RtlGetLastNtStatus, if that's useful as well.
--
Rémi Bernon <rbernon at codeweavers.com>
More information about the wine-devel
mailing list