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
0c6f2a6d
Commit
0c6f2a6d
authored
Nov 16, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Skip more tests on win9x.
parent
b45454c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
marshal.c
dlls/ole32/tests/marshal.c
+8
-14
moniker.c
dlls/ole32/tests/moniker.c
+5
-0
No files found.
dlls/ole32/tests/marshal.c
View file @
0c6f2a6d
...
...
@@ -1437,14 +1437,8 @@ static DWORD CALLBACK bad_thread_proc(LPVOID p)
/* Win9x returns E_NOINTERFACE, whilst NT returns RPC_E_WRONG_THREAD */
trace
(
"call to proxy's QueryInterface from wrong apartment returned 0x%08x
\n
"
,
hr
);
/* this statement causes Win9x DCOM to crash during CoUninitialize of
* other apartment, so don't test this on Win9x (signified by NT-only
* export of CoRegisterSurrogateEx) */
if
(
GetProcAddress
(
GetModuleHandle
(
"ole32"
),
"CoRegisterSurrogateEx"
))
/* now be really bad and release the proxy from the wrong apartment */
IUnknown_Release
(
cf
);
else
skip
(
"skipping test for releasing proxy from wrong apartment that will succeed, but cause a crash during CoUninitialize
\n
"
);
/* now be really bad and release the proxy from the wrong apartment */
IUnknown_Release
(
cf
);
CoUninitialize
();
...
...
@@ -3060,7 +3054,12 @@ START_TEST(marshal)
int
argc
;
char
**
argv
;
if
(
!
(
pCoInitializeEx
=
(
void
*
)
GetProcAddress
(
hOle32
,
"CoInitializeEx"
)))
goto
no_test
;
if
(
!
GetProcAddress
(
hOle32
,
"CoRegisterSurrogateEx"
))
{
win_skip
(
"skipping test on win9x
\n
"
);
return
;
}
pCoInitializeEx
=
(
void
*
)
GetProcAddress
(
hOle32
,
"CoInitializeEx"
);
argc
=
winetest_get_mainargs
(
&
argv
);
if
(
argc
>
2
&&
(
!
strcmp
(
argv
[
2
],
"-Embedding"
)))
...
...
@@ -3127,9 +3126,4 @@ START_TEST(marshal)
test_channel_hook
();
CoUninitialize
();
return
;
no_test
:
trace
(
"You need DCOM95 installed to run this test
\n
"
);
return
;
}
dlls/ole32/tests/moniker.c
View file @
0c6f2a6d
...
...
@@ -1998,6 +1998,11 @@ static void test_save_load_filemoniker(void)
START_TEST
(
moniker
)
{
if
(
!
GetProcAddress
(
GetModuleHandleA
(
"ole32.dll"
),
"CoRegisterSurrogateEx"
))
{
win_skip
(
"skipping test on win9x
\n
"
);
return
;
}
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
test_ROT
();
...
...
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