Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e2c48c59
Commit
e2c48c59
authored
Jul 19, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Try to avoid message boxes popping up in non-interactive testing.
parent
15c6057c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
debugger.c
dlls/kernel32/tests/debugger.c
+4
-0
test.h
include/wine/test.h
+2
-0
No files found.
dlls/kernel32/tests/debugger.c
View file @
e2c48c59
...
...
@@ -160,6 +160,10 @@ static void doCrash(int argc, char** argv)
{
char
*
p
;
/* make sure the exception gets to the debugger */
SetErrorMode
(
0
);
SetUnhandledExceptionFilter
(
NULL
);
if
(
argc
>=
4
)
{
crash_blackbox_t
blackbox
;
...
...
include/wine/test.h
View file @
e2c48c59
...
...
@@ -593,6 +593,8 @@ int main( int argc, char **argv )
if
(
GetEnvironmentVariableA
(
"WINETEST_INTERACTIVE"
,
p
,
sizeof
(
p
)
))
winetest_interactive
=
atoi
(
p
);
if
(
GetEnvironmentVariableA
(
"WINETEST_REPORT_SUCCESS"
,
p
,
sizeof
(
p
)
))
report_success
=
atoi
(
p
);
if
(
!
winetest_interactive
)
SetErrorMode
(
SEM_FAILCRITICALERRORS
|
SEM_NOGPFAULTERRORBOX
);
if
(
!
argv
[
1
])
{
if
(
winetest_testlist
[
0
].
name
&&
!
winetest_testlist
[
1
].
name
)
/* only one test */
...
...
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