test: add xi2 directory, prepare for protocol testing.

These two files provide a couple of common defines, functions and variables
that will be used in a number of protocol tests.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-06-12 11:30:53 +10:00
commit 1d635ae65b
5 changed files with 283 additions and 0 deletions

6
test/xi2/Makefile.am Normal file
View file

@ -0,0 +1,6 @@
if UNITTESTS
AM_CFLAGS = $(DIX_CFLAGS) $(GLIB_CFLAGS) @XORG_CFLAGS@
INCLUDES = @XORG_INCS@
TEST_LDADD=../libxservertest.la $(XORG_SYS_LIBS) $(XSERVER_SYS_LIBS) $(GLIB_LIBS)
COMMON_SOURCES=protocol-common.h protocol-common.c
endif