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
c29d7330
Commit
c29d7330
authored
Dec 15, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Dec 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Skip some keyboard layout tests on broken VMs.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55327
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55328
parent
6e815d77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
input.c
dlls/user32/tests/input.c
+17
-0
No files found.
dlls/user32/tests/input.c
View file @
c29d7330
...
...
@@ -3369,6 +3369,16 @@ static void test_keyboard_layout_name(void)
ok
(
GetLastError
()
==
ERROR_NOACCESS
,
"got %ld
\n
"
,
GetLastError
());
layout
=
GetKeyboardLayout
(
0
);
if
(
broken
(
layout
==
(
HKL
)
0x040a0c0a
))
{
/* The testbot w7u_es has a broken layout configuration, its active layout is 040a:0c0a,
* with 0c0a its user locale and 040a its layout langid. Its layout preload list contains
* a 00000c0a layout but the system layouts OTOH only contains the standard 0000040a layout.
* Later, after activating 0409:0409 layout, GetKeyboardLayoutNameW returns 00000c0a.
*/
win_skip
(
"broken keyboard layout, skipping tests
\n
"
);
return
;
}
len
=
GetKeyboardLayoutList
(
0
,
NULL
);
ok
(
len
>
0
,
"GetKeyboardLayoutList returned %d
\n
"
,
len
);
...
...
@@ -3549,6 +3559,13 @@ static void test_ActivateKeyboardLayout( char **argv )
DWORD
ret
;
layout
=
GetKeyboardLayout
(
0
);
if
(
broken
(
layout
==
(
HKL
)
0x040a0c0a
))
{
/* The testbot w7u_es has a broken layout configuration, see test_keyboard_layout_name above. */
win_skip
(
"broken keyboard layout, skipping tests
\n
"
);
return
;
}
count
=
GetKeyboardLayoutList
(
0
,
NULL
);
ok
(
count
>
0
,
"GetKeyboardLayoutList returned %d
\n
"
,
count
);
layouts
=
malloc
(
count
*
sizeof
(
HKL
)
);
...
...
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