libinput/test
Peter Hutterer 676be4b944 test: use poll instead of a busy wait
Drop the busy loop we had waiting for an event to appear and just call poll on
the libinput fd.

This actually makes the tests more correct, if we now time out where we didn't
before it means we're not setting the timers correctly.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-07-02 16:10: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 Fix a couple of coding style issues 2015-05-01 12:09:57 +10:00
device.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
keyboard.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-alps-dualpoint.c test: add ALPS DualPoint device 2015-06-22 08:08:44 +10:00
litest-alps-semi-mt.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-atmel-hover.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-bcm5974.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-generic-singletouch.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-int.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-keyboard-razer-blackwidow.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-keyboard.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-logitech-trackball.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-mouse-low-dpi.c test: add a low-dpi mouse test device 2015-07-02 13:03:43 +10:00
litest-mouse-roccat.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-mouse.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-ms-surface-cover.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-protocol-a-touch-screen.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-qemu-usb-tablet.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-selftest.c test: add pointer comparison macros 2015-05-18 20:55:48 +10:00
litest-synaptics-hover.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics-st.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics-t440.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics-x1-carbon-3rd.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-trackpoint.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-vmware-virtual-usb-mouse.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-wacom-intuos-finger.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-wacom-touch.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-wheel-only.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-xen-virtual-pointer.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest.c test: use poll instead of a busy wait 2015-07-02 16:10:41 +10:00
litest.h test: add a low-dpi mouse test device 2015-07-02 13:03:43 +10:00
log.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
Makefile.am test: add a low-dpi mouse test device 2015-07-02 13:03:43 +10:00
misc.c test: group the parser tests together 2015-06-30 13:32:17 +10:00
path.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
pointer.c touchpad: mark ALPS touchpads for middle button emulation 2015-06-22 08:12:04 +10:00
symbols-leak-test.in add simple symbols leak checker 2015-02-13 10:20:44 +10:00
touch.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
touchpad-tap.c touchpad: disable tap drag lock by default 2015-06-29 07:52:41 +10:00
touchpad.c test: replace tap config with helper function 2015-06-23 14:24:29 +10:00
trackpoint.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
udev.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
valgrind.suppressions test: add a backtrace facility to litest 2015-05-18 20:55:48 +10:00