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
3c639603
Commit
3c639603
authored
Feb 28, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Set correct WINETEST_PLATFORM when running under Wine.
parent
a7c5906b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
main.c
programs/winetest/main.c
+5
-1
No files found.
programs/winetest/main.c
View file @
3c639603
...
@@ -629,16 +629,20 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
...
@@ -629,16 +629,20 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
}
}
if
(
!
submit
)
{
if
(
!
submit
)
{
static
CHAR
platform_windows
[]
=
"WINETEST_PLATFORM=windows"
,
static
CHAR
platform_windows
[]
=
"WINETEST_PLATFORM=windows"
,
platform_wine
[]
=
"WINETEST_PLATFORM=wine"
,
debug_yes
[]
=
"WINETEST_DEBUG=1"
,
debug_yes
[]
=
"WINETEST_DEBUG=1"
,
interactive_no
[]
=
"WINETEST_INTERACTIVE=0"
,
interactive_no
[]
=
"WINETEST_INTERACTIVE=0"
,
report_success_no
[]
=
"WINETEST_REPORT_SUCCESS=0"
;
report_success_no
[]
=
"WINETEST_REPORT_SUCCESS=0"
;
CHAR
*
platform
;
report
(
R_STATUS
,
"Starting up"
);
report
(
R_STATUS
,
"Starting up"
);
if
(
!
running_on_visible_desktop
())
if
(
!
running_on_visible_desktop
())
report
(
R_FATAL
,
"Tests must be run on a visible desktop"
);
report
(
R_FATAL
,
"Tests must be run on a visible desktop"
);
if
(
reset_env
&&
(
putenv
(
platform_windows
)
||
platform
=
running_under_wine
()
?
platform_wine
:
platform_windows
;
if
(
reset_env
&&
(
putenv
(
platform
)
||
putenv
(
debug_yes
)
||
putenv
(
debug_yes
)
||
putenv
(
interactive_no
)
||
putenv
(
interactive_no
)
||
putenv
(
report_success_no
)))
putenv
(
report_success_no
)))
...
...
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