Commit ecd17659 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

msctf/tests: Add wine_todo processing to sink_check_ok.

parent f5ed7868
...@@ -121,6 +121,7 @@ static inline void _sink_fire_ok(INT *sink, const CHAR* name) ...@@ -121,6 +121,7 @@ static inline void _sink_fire_ok(INT *sink, const CHAR* name)
static inline void _sink_check_ok(INT *sink, const CHAR* name) static inline void _sink_check_ok(INT *sink, const CHAR* name)
{ {
int action = *sink & SINK_ACTION_MASK; int action = *sink & SINK_ACTION_MASK;
int todo = *sink & SINK_OPTION_TODO;
switch (action) switch (action)
{ {
...@@ -132,7 +133,10 @@ static inline void _sink_check_ok(INT *sink, const CHAR* name) ...@@ -132,7 +133,10 @@ static inline void _sink_check_ok(INT *sink, const CHAR* name)
case SINK_IGNORE: case SINK_IGNORE:
return; return;
default: default:
winetest_ok(0, "%s not fired as expected, in state %x\n",name,*sink); if (todo)
todo_wine winetest_ok(0, "%s not fired as expected, in state %x\n",name,*sink);
else
winetest_ok(0, "%s not fired as expected, in state %x\n",name,*sink);
} }
*sink = SINK_UNEXPECTED; *sink = SINK_UNEXPECTED;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment