libinput/test
Peter Hutterer 87c8d82ac5 test: print strerror() if uinput device creation fails
The most common error running the test suite is not running as root, but the
error message is hard to interpret. Make it more explicit when it failed,
printing the strerror of the errno.

Note that libevdev 1.3 is needed to get EACCES instead of EBADF
http://cgit.freedesktop.org/libevdev/commit/?id=debe9b030c8069cdf78307888ef3b65830b25122
A workaround is put in place for now until libevdev 1.3 is commonplace.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-09-17 13:35:41 +10:00
..
50-litest.conf test: Prefix litest created device names with litest 2014-06-25 11:11:45 +10:00
build-cxx.cc test: Add include from C++ build test 2014-03-29 00:51:44 +01:00
build-pedantic.c test: add a build-test for -pedantic 2014-01-15 11:26:08 +10:00
keyboard.c evdev: Release still pressed keys/buttons when removing device 2014-08-18 22:41:16 +02:00
litest-alps-semi-mt.c litest-alps-semi-mt: Fix compiler warnings 2014-09-03 13:33:20 +10:00
litest-bcm5974.c test: auto-update for BTN_TOOL_* when using litest_touch_ functions 2014-07-23 15:08:15 +10:00
litest-generic-singletouch.c test: add a generic single-touch device 2014-08-26 13:49:16 +10:00
litest-int.h test: add a semi-mt Alps test device 2014-08-04 20:21:03 +10:00
litest-keyboard.c style fix: Remove duplicate empty lines 2014-07-22 09:00:45 +10:00
litest-mouse.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-synaptics-st.c test: auto-update for BTN_TOOL_* when using litest_touch_ functions 2014-07-23 15:08:15 +10:00
litest-synaptics-t440.c test: auto-update for BTN_TOOL_* when using litest_touch_ functions 2014-07-23 15:08:15 +10:00
litest-synaptics.c test: auto-update for BTN_TOOL_* when using litest_touch_ functions 2014-07-23 15:08:15 +10:00
litest-trackpoint.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-wacom-touch.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest.c test: print strerror() if uinput device creation fails 2014-09-17 13:35:41 +10:00
litest.h test: add a generic single-touch device 2014-08-26 13:49:16 +10:00
log.c Merge branch 'ref-counting-context' 2014-06-25 10:32:42 +10:00
Makefile.am test: add a generic single-touch device 2014-08-26 13:49:16 +10:00
misc.c util: add a couple of 3x3 matrix helper functions 2014-09-01 11:23:53 +10:00
path.c test: Use only one test device for some udev and path tests 2014-08-18 22:35:19 +02:00
pointer.c Change calibration into a configuration option 2014-09-01 11:23:54 +10:00
touch.c Change calibration into a configuration option 2014-09-01 11:23:54 +10:00
touchpad.c test: fix a jumping touch movement 2014-09-17 13:31:42 +10:00
udev.c test: Use only one test device for some udev and path tests 2014-08-18 22:35:19 +02:00
valgrind.suppressions test: automatically run the tests against valgrind for leaks 2014-04-10 11:11:56 +10:00