mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-24 10:00:08 +01:00
tests: disable force feedback events on FreeBSD
FreeBSD does not support force feedack events. Disable the test for this event when running on FreeBSD. Signed-off-by: Niclas Zeising <zeising@daemonic.se>
This commit is contained in:
parent
800946a673
commit
8026722f86
1 changed files with 8 additions and 0 deletions
|
|
@ -117,6 +117,14 @@ START_TEST(test_event_codes)
|
|||
continue;
|
||||
}
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
/* Force feedback events are not supported by FreeBSD */
|
||||
if (*evbit == EV_FF) {
|
||||
evbit++;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
||||
max = libevdev_event_type_get_max(*evbit);
|
||||
|
||||
for (code = 1; code < max; code += 10) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue