winetest: Change the way we report missing dlls.
This commit is contained in:
parent
ec58b4485a
commit
3a7c16992b
|
@ -443,9 +443,7 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType,
|
||||||
|
|
||||||
dll = LoadLibraryExA(dllname, NULL, LOAD_LIBRARY_AS_DATAFILE);
|
dll = LoadLibraryExA(dllname, NULL, LOAD_LIBRARY_AS_DATAFILE);
|
||||||
if (!dll) {
|
if (!dll) {
|
||||||
xprintf ("%s:%s_dll_missing start 0 0\n", dllname, dllname);
|
xprintf (" %s=dll is missing\n", dllname);
|
||||||
xprintf ("%s_dll_missing: -1 tests executed (-1 marked as todo, -1 failures), -1 skipped.\n", dllname);
|
|
||||||
xprintf ("%s:%s_dll_missing done (0)\n", dllname, dllname);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
FreeLibrary(dll);
|
FreeLibrary(dll);
|
||||||
|
@ -526,7 +524,7 @@ run_tests (char *logname)
|
||||||
}
|
}
|
||||||
xprintf ("Operating system version:\n");
|
xprintf ("Operating system version:\n");
|
||||||
print_version ();
|
print_version ();
|
||||||
xprintf ("Test output:\n" );
|
xprintf ("Dll info:\n" );
|
||||||
|
|
||||||
report (R_STATUS, "Counting tests");
|
report (R_STATUS, "Counting tests");
|
||||||
if (!EnumResourceNames (NULL, MAKEINTRESOURCE(TESTRES),
|
if (!EnumResourceNames (NULL, MAKEINTRESOURCE(TESTRES),
|
||||||
|
@ -544,6 +542,8 @@ run_tests (char *logname)
|
||||||
report (R_FATAL, "Can't enumerate test files: %d",
|
report (R_FATAL, "Can't enumerate test files: %d",
|
||||||
GetLastError ());
|
GetLastError ());
|
||||||
|
|
||||||
|
xprintf ("Test output:\n" );
|
||||||
|
|
||||||
report (R_DELTA, 0, "Extracting: Done");
|
report (R_DELTA, 0, "Extracting: Done");
|
||||||
|
|
||||||
report (R_STATUS, "Running tests");
|
report (R_STATUS, "Running tests");
|
||||||
|
|
Loading…
Reference in New Issue