From 4b93413b2a490a74de2e27b37268332b609ac872 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 14 Jul 2009 11:20:01 +1000 Subject: [PATCH] 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 --- Makefile.am | 3 ++- test/Makefile.am | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index dea6fa47c..4ee1e179d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,7 +38,8 @@ SUBDIRS = \ $(GLX_DIR) \ exa \ config \ - hw + hw \ + test aclocaldir = $(datadir)/aclocal aclocal_DATA = xorg-server.m4 diff --git a/test/Makefile.am b/test/Makefile.am index dbad93bb1..c5fc4cd30 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -33,7 +33,4 @@ CLEANFILES=libxservertest.c libxservertest.c: touch $@ -all: - @echo "Run 'make check' to run the test suite" - endif