[PATCH] winetest: Always dump the dll version
Detlef Riekenberg
wine.dev at web.de
Sun Aug 5 10:18:52 CDT 2012
The old code failed to get the installed dll version,
when a dependant dll for the test binary was missing.
(The NT4 machines from francois as example)
--
By by ... Detlef
---
programs/winetest/main.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index ea74a06..b200c68 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -898,16 +898,12 @@ extract_test_proc (HMODULE hModule, LPCSTR lpszType, LPSTR lpszName, LONG_PTR lP
}
FreeLibrary(dll);
+ xprintf (" %s=%s\n", dllname, get_file_version(filename));
if (!(err = get_subtests( tempdir, &wine_tests[nr_of_files], lpszName )))
{
- xprintf (" %s=%s\n", dllname, get_file_version(filename));
nr_of_tests += wine_tests[nr_of_files].subtest_count;
nr_of_files++;
}
- else
- {
- xprintf (" %s=load error %u\n", dllname, err);
- }
if (actctx != INVALID_HANDLE_VALUE)
{
--
1.7.5.4
More information about the wine-patches
mailing list