[2/2] shell32/tests: Fix okShell() so it takes all logging options into account.
Francois Gouget
fgouget at codeweavers.com
Fri Feb 5 08:31:26 CST 2016
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
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
More information about the wine-patches
mailing list