libevdev/test
Peter Hutterer a67d1964ff Blacklist REP_MAX so it doesn't shadow REP_PERIOD
They have the same value, so the _MAX code would shadow the real code, causing
issues in any client that needs to get all event names from libevdev.
Specifically, the loop of:
  for each code in 0 to max-for-type:
      print(name)
would not show up the code (but the _MAX) code instead. This causes issues
with clients that rely on name resolution that works. And the _MAX values are
special values anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2018-02-26 17:12:08 +10:00
..
.gitignore Add a test for EVIOCREVOKE 2014-02-26 07:22:04 +10:00
generate-gcov-report.sh configure.ac: enable subdir-objects 2017-01-09 09:40:28 +10:00
Makefile.am test: add --no-install flag to be able to debug directly 2017-12-13 10:01:58 +10:00
test-common-uinput.c test: ignore a failure to UI_DEV_DESTROY the device 2016-03-04 07:26:53 +10:00
test-common-uinput.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
test-common.c test: drop unnecessary return value 2016-03-04 07:10:33 +10:00
test-common.h test: drop unnecessary return value 2016-03-04 07:10:33 +10:00
test-compile-pedantic.c test: add a build test for -Wpedantic 2013-11-23 09:00:53 +10:00
test-event-codes.c Add libevdev_property_from_name() 2014-08-20 08:43:15 +10:00
test-event-names.c Blacklist REP_MAX so it doesn't shadow REP_PERIOD 2018-02-26 17:12:08 +10:00
test-int-queue.c test: remove test for ULONG_MAX queue allocation 2017-05-09 13:43:05 +10:00
test-kernel.c test: fix EVIOCREVOKE test on non-supporting kernels 2014-08-25 10:28:09 +10:00
test-libevdev-events.c test: drop unnecessary return value 2016-03-04 07:10:33 +10:00
test-libevdev-has-event.c cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
test-libevdev-init.c When changing the fd, reset our grab state to ungrabbed 2017-12-13 10:01:58 +10:00
test-link.c test: add basic link test 2013-12-12 13:19:52 +10:00
test-main.c test: drop unused parameters from test's main() 2017-05-09 13:42:56 +10:00
test-uinput.c test: abort on unexpected log messages 2014-01-22 09:14:40 +10:00
valgrind.suppressions test: ignore any timer_create errors in valgrind 2014-06-12 09:50:22 +10:00