test: build the touch test only when building Xorg

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dan Horák <dan@danny.cz>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Dan Horák 2013-10-29 12:09:25 -04:00 committed by Keith Packard
parent 0ba7fc8472
commit d7ee27e5e4

View File

@ -1,11 +1,11 @@
if ENABLE_UNIT_TESTS
SUBDIRS= .
noinst_PROGRAMS = list string touch
noinst_PROGRAMS = list string
if XORG
# Tests that require at least some DDX functions in order to fully link
# For now, requires xf86 ddx, could be adjusted to use another
SUBDIRS += xi2
noinst_PROGRAMS += xkb input xtest misc fixes xfree86 hashtabletest os signal-logging
noinst_PROGRAMS += xkb input xtest misc fixes xfree86 hashtabletest os signal-logging touch
endif
check_LTLIBRARIES = libxservertest.la