mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
test: Add ProcXIQueryVersion tests.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1d635ae65b
commit
441c91be05
2 changed files with 197 additions and 0 deletions
|
|
@ -1,6 +1,17 @@
|
|||
if UNITTESTS
|
||||
check_PROGRAMS = \
|
||||
protocol-xiqueryversion
|
||||
|
||||
TESTS=$(check_PROGRAMS)
|
||||
|
||||
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
|
||||
|
||||
protocol_xiqueryversion_LDADD=$(TEST_LDADD)
|
||||
|
||||
protocol_xiqueryversion_CFLAGS=$(AM_CFLAGS) -Wl,-wrap,WriteToClient
|
||||
|
||||
protocol_xiqueryversion_SOURCES=$(COMMON_SOURCES) protocol-xiqueryversion.c
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue