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
b25eb554
Commit
b25eb554
authored
Aug 01, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test.h: Fetch environment variables from the Win32 environment not the Unix one.
parent
992d0043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
test.h
include/wine/test.h
+6
-5
No files found.
include/wine/test.h
View file @
b25eb554
...
...
@@ -476,17 +476,18 @@ static void usage( const char *argv0 )
/* main function */
int
main
(
int
argc
,
char
**
argv
)
{
char
*
p
;
char
p
[
128
]
;
setvbuf
(
stdout
,
NULL
,
_IONBF
,
0
);
winetest_argc
=
argc
;
winetest_argv
=
argv
;
if
((
p
=
getenv
(
"WINETEST_PLATFORM"
)))
winetest_platform
=
strdup
(
p
);
if
((
p
=
getenv
(
"WINETEST_DEBUG"
)))
winetest_debug
=
atoi
(
p
);
if
((
p
=
getenv
(
"WINETEST_INTERACTIVE"
)))
winetest_interactive
=
atoi
(
p
);
if
((
p
=
getenv
(
"WINETEST_REPORT_SUCCESS"
)))
report_success
=
atoi
(
p
);
if
(
GetEnvironmentVariableA
(
"WINETEST_PLATFORM"
,
p
,
sizeof
(
p
)
))
winetest_platform
=
strdup
(
p
);
if
(
GetEnvironmentVariableA
(
"WINETEST_DEBUG"
,
p
,
sizeof
(
p
)
))
winetest_debug
=
atoi
(
p
);
if
(
GetEnvironmentVariableA
(
"WINETEST_INTERACTIVE"
,
p
,
sizeof
(
p
)
))
winetest_interactive
=
atoi
(
p
);
if
(
GetEnvironmentVariableA
(
"WINETEST_REPORT_SUCCESS"
,
p
,
sizeof
(
p
)
))
report_success
=
atoi
(
p
);
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