[PATCH v2] gdi32/tests: Add tests for the advanced graphics mode

Nikolay Sivov nsivov at codeweavers.com
Tue Feb 9 02:22:26 CST 2021



On 2/9/21 11:17 AM, Ralf Habacker wrote:
> +void check_hash( test_data *td )
> +{
> +#ifdef WITH_HASH
> +    if ( td->hash_dib )
> +        HeapFree( GetProcessHeap(), 0, td->hash_dib );
> +    td->hash_dib = hash_dib( td->dc, td->bmi, td->bits );
> +    printf( "const char *%s = \"%s\";\n", td->hash_name, td->hash_dib );
> +#endif
> +    // instead we dump the display to a file for visual inspection
> +    save_bitmap_to_file( td->dib, td->save_path );
> +}
Does it mean that new tests don't really check any output, because
WITH_HASH is not set? If so, what's a point of having them running
automated with other tests?



More information about the wine-devel mailing list