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
9f7da94a
Commit
9f7da94a
authored
Jan 27, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wscript: Properly handle CreateProcess failure.
parent
e8e45b34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
run.c
programs/wscript/tests/run.c
+3
-3
No files found.
programs/wscript/tests/run.c
View file @
9f7da94a
...
...
@@ -34,8 +34,8 @@
#define SET_EXPECT(func) \
expect_ ## func = TRUE
#define
SET
_CALLED(func) \
called_ ## func = TRU
E
#define
CLEAR
_CALLED(func) \
expect_ ## func = called_ ## func = FALS
E
#define CHECK_EXPECT2(func) \
do { \
...
...
@@ -355,7 +355,7 @@ static void run_test(const char *file_name)
bres
=
CreateProcessA
(
NULL
,
command
,
NULL
,
NULL
,
TRUE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
if
(
!
bres
)
{
win_skip
(
"script.exe is not available
\n
"
);
SET
_CALLED
(
reportSuccess
);
CLEAR
_CALLED
(
reportSuccess
);
return
;
}
...
...
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