mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
[DBGHELP_APITEST] Skip more tests on 2k3's dbghelp.dll
This commit is contained in:
parent
3bf4ef6fec
commit
eeaddf5bbc
1 changed files with 82 additions and 81 deletions
|
@ -310,6 +310,13 @@ static void test_SymFromAddr(HANDLE hProc, DWORD64 BaseAddress)
|
|||
DWORD64 Displacement;
|
||||
DWORD dwErr;
|
||||
|
||||
if (!supports_pdb(hProc, BaseAddress))
|
||||
{
|
||||
skip("dbghelp.dll too old or cannot enumerate symbols!\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
/* No address found before load address of module */
|
||||
Displacement = 0;
|
||||
INIT_PSYM(buffer);
|
||||
|
@ -390,12 +397,6 @@ static void test_SymFromAddr(HANDLE hProc, DWORD64 BaseAddress)
|
|||
ok_hex(pSymbol->Tag, SymTagFunction);
|
||||
ok_str(pSymbol->Name, "FfsChkdsk");
|
||||
|
||||
if (!supports_pdb(hProc, BaseAddress))
|
||||
{
|
||||
skip("dbghelp.dll too old or cannot read this symbol!\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
/* .idata */
|
||||
Displacement = 0;
|
||||
INIT_PSYM(buffer);
|
||||
|
|
Loading…
Reference in a new issue