[11/15]usp10/tests: update test_ScriptShapeOpenType framework to shape in a given font

Aric Stewart aric at codeweavers.com
Tue May 24 08:06:40 CDT 2011


Ah, I wondered if I was pushing the Macro thing too far.

-aric

On 11/05/24 5:26, Alexandre Julliard wrote:
> Aric Stewart<aric at codeweavers.com>  writes:
>
>> @@ -297,9 +297,13 @@ static void test_ScriptItemize( void )
>>       test_items_ok(test10,4,&Control,&State,1,t101,FALSE,0);
>>   }
>>
>> -static inline void _test_shape_ok(HDC hdc, LPCWSTR string, DWORD cchString,
>> -                         SCRIPT_CONTROL *Control, SCRIPT_STATE *State,
>> -                         DWORD item, DWORD nGlyphs,
>> +#define shape_cond_ok(a,b,c...)  if (a>0) {winetest_ok(b,c);} else if(!b) {winetest_trace(c);}
>> +
>> +#define shape_cond_skip(a,b...)  if (a>0) {winetest_win_skip(b);} else {winetest_trace(b);}
>
> You can't do that.
>



More information about the wine-devel mailing list