Add test subdir to base Makefile.am

If unittests are enabled, make will build those as well - spotting potential
build errors in the tests faster. Furthermore, this allows for the tests to
be run from the top-level directory.
This patch removes the "run make check to build the test suite" message
since that'd pop up after every build now.

If unittests are disabled, this change has no effect.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-07-14 11:20:01 +10:00
parent e2226f3cd7
commit 4b93413b2a
2 changed files with 2 additions and 4 deletions

View File

@ -38,7 +38,8 @@ SUBDIRS = \
$(GLX_DIR) \
exa \
config \
hw
hw \
test
aclocaldir = $(datadir)/aclocal
aclocal_DATA = xorg-server.m4

View File

@ -33,7 +33,4 @@ CLEANFILES=libxservertest.c
libxservertest.c:
touch $@
all:
@echo "Run 'make check' to run the test suite"
endif