mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 21:57:36 +00:00
faultrep/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c8431d97bd
commit
e913d34eb2
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
TESTDLL = faultrep.dll
|
||||
IMPORTS = faultrep advapi32
|
||||
|
||||
|
|
|
@ -82,11 +82,11 @@ static void test_AddERExcludedApplicationA(void)
|
|||
|
||||
SetLastError(0xdeadbeef);
|
||||
res = AddERExcludedApplicationA(NULL);
|
||||
ok(!res, "got %d and 0x%x (expected FALSE)\n", res, GetLastError());
|
||||
ok(!res, "got %d and 0x%lx (expected FALSE)\n", res, GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
res = AddERExcludedApplicationA("");
|
||||
ok(!res, "got %d and 0x%x (expected FALSE)\n", res, GetLastError());
|
||||
ok(!res, "got %d and 0x%lx (expected FALSE)\n", res, GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
/* existence of the path doesn't matter this function succeeded */
|
||||
|
@ -99,12 +99,12 @@ static void test_AddERExcludedApplicationA(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
ok(res, "AddERExcludedApplicationA failed (le=0x%x)\n", GetLastError());
|
||||
ok(res, "AddERExcludedApplicationA failed (le=0x%lx)\n", GetLastError());
|
||||
|
||||
/* add, when already present */
|
||||
SetLastError(0xdeadbeef);
|
||||
res = AddERExcludedApplicationA("winetest_faultrep.exe");
|
||||
ok(res, "AddERExcludedApplicationA failed (le=0x%x)\n", GetLastError());
|
||||
ok(res, "AddERExcludedApplicationA failed (le=0x%lx)\n", GetLastError());
|
||||
}
|
||||
|
||||
/* cleanup */
|
||||
|
|
Loading…
Reference in a new issue