mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
Skip tests without error if psapi.dll could not be loaded.
This commit is contained in:
parent
60acd897b4
commit
204ec74044
@ -136,8 +136,10 @@ static void test_module_base_name(void)
|
||||
START_TEST(module)
|
||||
{
|
||||
dll = LoadLibrary("psapi.dll");
|
||||
ok(dll != 0, "LoadLibraryA failed\n");
|
||||
if (!dll) return;
|
||||
if (!dll) {
|
||||
trace("LoadLibraryA(psapi.dll) failed: skipping tests with target module\n");
|
||||
return;
|
||||
}
|
||||
|
||||
pGetModuleBaseNameA = (void*) GetProcAddress(dll, "GetModuleBaseNameA");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user