winetest: Explain why the source filename is printed.

Francois Gouget fgouget at
Fri Feb 10 09:40:18 CST 2017

It is used by analysis tools like to link to the
relevant test source file.

Signed-off-by: Francois Gouget <fgouget at>
 programs/winetest/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index 129625b4eb6..9d2c95a31c2 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -777,6 +777,7 @@ get_subtests (const char *tempdir, struct wine_test *test, LPSTR res_name)
 static void
 run_test (struct wine_test* test, const char* subtest, HANDLE out_file, const char *tempdir)
+    /* Build the source filename so analysis tools can link to it */
     const char* file = get_test_source_file(test->name, subtest);
     if (test_filtered_out( test->name, subtest ))

More information about the wine-patches mailing list