Re: [PATCH 1/6] urlmon/tests: Expand framework to allow todo_wine'd tests and differences between Windows versions.
18 Jul
2007
18 Jul
'07
10:24 a.m.
Misha Koshelev <mk144210(a)bcm.edu> writes:
#define CHECK_EXPECT(func) \ do { \ - ok(expect_ ##func, "unexpected call " #func "\n"); \ - expect_ ## func = FALSE; \ + if (!expect_ ##func && wine_allow_ ##func) \ + { \ + todo_wine ok(expect_ ##func, "unexpected call " #func "\n"); \ + wine_allow_ ##func = FALSE; \ + } \ + else \ + { \ + ok(expect_ ##func, "unexpected call " #func "\n"); \ + expect_ ## func = FALSE; \ + } \ called_ ## func = TRUE; \ }while(0)
This is becoming really ugly. You should fix this to use normal C code instead of macros. -- Alexandre Julliard julliard(a)winehq.org
6725
Age (days ago)
6725
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard