From: Francois Gouget Subject: [2/2] shell32/tests: Fix okShell() so it takes all logging options into account. Message-Id: Date: Fri, 5 Feb 2016 15:31:26 +0100 (CET) Signed-off-by: Francois Gouget --- dlls/shell32/tests/shlexec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index fc27ed6..5f4c1a2 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -357,7 +357,8 @@ static void WINETEST_PRINTF_ATTR(2,3) _okShell(int condition, const char *msg, . /* Note: if winetest_debug > 1 the ShellExecute() command has already been * traced. */ - if (!condition && winetest_debug <= 1 && !shell_call_traced) + if (winetest_debug <= 1 && !shell_call_traced && + (winetest_status(condition) & WINETEST_REPORT)) { printf("Called %s\n", shell_call); if (*assoc_desc) -- 2.7.0