[PATCH v2] gdi32/tests: Add tests for the advanced graphics mode
Francois Gouget
fgouget at free.fr
Tue Feb 9 05:04:25 CST 2021
On Tue, 9 Feb 2021, Ralf Habacker wrote:
> Because drawing simple lines already gives different results than a
> native Windows, the comparison of hashes does not work anymore.
>
> Therefore, the tests associated to advanced graphics mode creates
> bitmap files for each processed test in the current directoy, which
> can then be compared visually.
It looks like this is a prime candidate for winetest_interactive:
if (winetest_interactive)
{
/* Tests that require a human to check the results */
...
}
So to get the bitmaps to compare one would run the test with
set WINETEST_INTERACTIVE=1.
Note: Iirc C++ comments are not allowed in Wine's C code.
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
"Only wimps use tape backup: _real_ men just upload their important stuff on
ftp, and let the rest of the world mirror it ;)" -- Linus Torvalds
More information about the wine-devel
mailing list