xserver-multidpi/test/xi2
Gaetan Nadon 6a5bf15fa9 Add generalized unit test support using util-macros.
A handful of modules have begun adding unit test programs.
These macros will help providing a consistent interface which will
help package builders and developers to manage the functionality.

XORG_ENABLE_UNIT_TESTS will turn on/off unit testing, regardless
of how it is implemented. The default (yes/no) can be specified by each
module. It can be used by itself if glib or -wrap support is not needed.

XORG_WITH_GLIB will probe the system for glib-2.0. A different version
can be specified in each module. It will consult XORG_ENABLE_UNIT_TESTS
but can be used by itself in contexts other then unit testing.
The default (yes/no) can be specified by each module.

XORG_LD_WRAP will probe the linker for -wrap support. It will consult
XORG_ENABLE_UNIT_TESTS but can be used by itself in contexts
other then unit testing.

configure options:
  --enable-unit-tests     Enable building unit test cases (default: auto)
  --with-glib             Use GLib library for unit testing (default: auto)

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
2011-03-18 11:36:19 -07:00
..
Makefile.am Add generalized unit test support using util-macros. 2011-03-18 11:36:19 -07:00
protocol-common.c test: Fix missing xkbsrv.h include. 2010-11-12 11:49:21 +10:00
protocol-common.h test: expose the default screen to tests, some cleanup work. 2009-09-03 11:00:49 +10:00
protocol-eventconvert.c Test: Input: Check flags on DeviceEvent 2011-01-06 17:10:25 +00:00
protocol-xigetclientpointer.c test: expose the default screen to tests, some cleanup work. 2009-09-03 11:00:49 +10:00
protocol-xigetselectedevents.c test: add ProcXIGetSelectedEvents tests. 2009-07-14 11:41:29 +10:00
protocol-xiquerydevice.c test: add ProcXIQueryDevice tests. 2009-07-14 11:41:28 +10:00
protocol-xiquerypointer.c Move master/lastSlave out of the union into separate fields. 2011-02-22 14:35:45 +10:00
protocol-xiqueryversion.c test: Add ProcXIQueryVersion tests. 2009-07-14 11:41:28 +10:00
protocol-xiselectevents.c Test: Input: Test up to supported server, not protocol, events 2011-01-06 17:10:28 +00:00
protocol-xisetclientpointer.c test: expose the default screen to tests, some cleanup work. 2009-09-03 11:00:49 +10:00
protocol-xiwarppointer.c Move master/lastSlave out of the union into separate fields. 2011-02-22 14:35:45 +10:00