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
888f2c76
Commit
888f2c76
authored
Mar 22, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrrun/tests: Skip some tests if drive is not ready.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
40a24146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
filesystem.c
dlls/scrrun/tests/filesystem.c
+11
-0
No files found.
dlls/scrrun/tests/filesystem.c
View file @
888f2c76
...
@@ -1397,6 +1397,17 @@ static void test_DriveCollection(void)
...
@@ -1397,6 +1397,17 @@ static void test_DriveCollection(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
ready
==
VARIANT_TRUE
,
"got %x
\n
"
,
ready
);
ok
(
ready
==
VARIANT_TRUE
,
"got %x
\n
"
,
ready
);
if
(
ready
!=
VARIANT_TRUE
)
{
hr
=
IDrive_get_DriveLetter
(
drive
,
&
str
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
skip
(
"Drive %s is not ready, skipping some tests
\n
"
,
wine_dbgstr_w
(
str
));
VariantClear
(
&
var
);
SysFreeString
(
str
);
continue
;
}
V_VT
(
&
size
)
=
VT_EMPTY
;
V_VT
(
&
size
)
=
VT_EMPTY
;
hr
=
IDrive_get_TotalSize
(
drive
,
&
size
);
hr
=
IDrive_get_TotalSize
(
drive
,
&
size
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
...
...
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