Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e913d34e
Commit
e913d34e
authored
Feb 24, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faultrep/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c8431d97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/faultrep/tests/Makefile.in
+0
-1
faultrep.c
dlls/faultrep/tests/faultrep.c
+4
-4
No files found.
dlls/faultrep/tests/Makefile.in
View file @
e913d34e
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
faultrep.dll
TESTDLL
=
faultrep.dll
IMPORTS
=
faultrep advapi32
IMPORTS
=
faultrep advapi32
...
...
dlls/faultrep/tests/faultrep.c
View file @
e913d34e
...
@@ -82,11 +82,11 @@ static void test_AddERExcludedApplicationA(void)
...
@@ -82,11 +82,11 @@ static void test_AddERExcludedApplicationA(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
AddERExcludedApplicationA
(
NULL
);
res
=
AddERExcludedApplicationA
(
NULL
);
ok
(
!
res
,
"got %d and 0x%x (expected FALSE)
\n
"
,
res
,
GetLastError
());
ok
(
!
res
,
"got %d and 0x%
l
x (expected FALSE)
\n
"
,
res
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
AddERExcludedApplicationA
(
""
);
res
=
AddERExcludedApplicationA
(
""
);
ok
(
!
res
,
"got %d and 0x%x (expected FALSE)
\n
"
,
res
,
GetLastError
());
ok
(
!
res
,
"got %d and 0x%
l
x (expected FALSE)
\n
"
,
res
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
/* existence of the path doesn't matter this function succeeded */
/* existence of the path doesn't matter this function succeeded */
...
@@ -99,12 +99,12 @@ static void test_AddERExcludedApplicationA(void)
...
@@ -99,12 +99,12 @@ static void test_AddERExcludedApplicationA(void)
}
}
else
else
{
{
ok
(
res
,
"AddERExcludedApplicationA failed (le=0x%x)
\n
"
,
GetLastError
());
ok
(
res
,
"AddERExcludedApplicationA failed (le=0x%
l
x)
\n
"
,
GetLastError
());
/* add, when already present */
/* add, when already present */
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
AddERExcludedApplicationA
(
"winetest_faultrep.exe"
);
res
=
AddERExcludedApplicationA
(
"winetest_faultrep.exe"
);
ok
(
res
,
"AddERExcludedApplicationA failed (le=0x%x)
\n
"
,
GetLastError
());
ok
(
res
,
"AddERExcludedApplicationA failed (le=0x%
l
x)
\n
"
,
GetLastError
());
}
}
/* cleanup */
/* cleanup */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment