Francois Gouget : shell32/tests: Fix an ok() call so it shows which DDE test caused the failure.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 15 09:41:49 CST 2016
Module: wine
Branch: master
Commit: 43fe3574f479234f77d25fcb14505233cb66fa33
URL: http://source.winehq.org/git/wine.git/?a=commit;h=43fe3574f479234f77d25fcb14505233cb66fa33
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Sun Feb 14 00:24:43 2016 +0100
shell32/tests: Fix an ok() call so it shows which DDE test caused the failure.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/tests/shlexec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 11b7e57..d719c9c 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -2469,9 +2469,9 @@ static void test_dde(void)
}
okShell(32 < rc, "failed: rc=%lu err=%u\n", rc, GetLastError());
if (test->ddeexec)
- ok(waitforinputidle_count == 1, "WaitForInputIdle() was called %u times\n", waitforinputidle_count);
+ okShell(waitforinputidle_count == 1, "WaitForInputIdle() was called %u times\n", waitforinputidle_count);
else
- ok(waitforinputidle_count == 0, "WaitForInputIdle() was called %u times for a non-DDE case\n", waitforinputidle_count);
+ okShell(waitforinputidle_count == 0, "WaitForInputIdle() was called %u times for a non-DDE case\n", waitforinputidle_count);
if (32 < rc)
{
More information about the wine-cvs
mailing list