Francois Gouget : winetest: Trace skipped dlls when in exclude (-n) mode.

Alexandre Julliard julliard at winehq.org
Wed Apr 21 15:57:53 CDT 2021


Module: wine
Branch: master
Commit: 5549ad21b33c4471bd90c6eb26dd812f140bf680
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5549ad21b33c4471bd90c6eb26dd812f140bf680

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Apr 21 09:32:37 2021 +0200

winetest: Trace skipped dlls when in exclude (-n) mode.

When the command line specifies the list of tests to run, tracing all
the skipped dlls unnecessarily spams the test output.
But when the command line contains the list of (at most 64) excluded
dlls, tracing them ensures tools analysing the report know why the
corresponding dlls were skipped.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/winetest/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index 107151c927f..cb2f23a161e 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -918,6 +918,7 @@ extract_test_proc (HMODULE hModule, LPCSTR lpszType, LPSTR lpszName, LONG_PTR lP
     if (test_filtered_out( lpszName, NULL ))
     {
         nr_of_skips++;
+        if (exclude_tests) xprintf ("    %s=skipped\n", dllname);
         return TRUE;
     }
     extract_test (&wine_tests[nr_of_files], tempdir, lpszName);




More information about the wine-cvs mailing list