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
32d1bb2b
Commit
32d1bb2b
authored
Sep 12, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Skip tests on too old vbscript.
parent
3454bdc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
run.c
dlls/vbscript/tests/run.c
+3
-3
vbscript.c
dlls/vbscript/tests/vbscript.c
+4
-4
No files found.
dlls/vbscript/tests/run.c
View file @
32d1bb2b
...
...
@@ -1740,13 +1740,13 @@ static void run_tests(void)
static
BOOL
check_vbscript
(
void
)
{
IActiveScript
*
vbscript
;
IActiveScript
ParseProcedure2
*
vbscript
;
HRESULT
hres
;
hres
=
CoCreateInstance
(
&
CLSID_VBScript
,
NULL
,
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
,
&
IID_IActiveScript
,
(
void
**
)
&
vbscript
);
&
IID_IActiveScript
ParseProcedure2
,
(
void
**
)
&
vbscript
);
if
(
SUCCEEDED
(
hres
))
IActiveScript_Release
(
vbscript
);
IActiveScript
ParseProcedure2
_Release
(
vbscript
);
return
hres
==
S_OK
;
}
...
...
dlls/vbscript/tests/vbscript.c
View file @
32d1bb2b
...
...
@@ -774,13 +774,13 @@ static void test_vbscript_initializing(void)
static
BOOL
check_vbscript
(
void
)
{
IActiveScript
*
vbscript
;
IActiveScript
ParseProcedure2
*
vbscript
;
HRESULT
hres
;
hres
=
CoCreateInstance
(
&
CLSID_VBScript
,
NULL
,
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
,
&
IID_IActiveScript
,
(
void
**
)
&
vbscript
);
&
IID_IActiveScript
ParseProcedure2
,
(
void
**
)
&
vbscript
);
if
(
SUCCEEDED
(
hres
))
IActiveScript_Release
(
vbscript
);
IActiveScript
ParseProcedure2
_Release
(
vbscript
);
return
hres
==
S_OK
;
}
...
...
@@ -797,7 +797,7 @@ START_TEST(vbscript)
test_vbscript_initializing
();
test_scriptdisp
();
}
else
{
win_skip
(
"VBScript engine not available
\n
"
);
win_skip
(
"VBScript engine not available
or too old
\n
"
);
}
CoUninitialize
();
...
...
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