summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Schmidt <marv@exherbo.org>2009-11-15 16:04:09 +0100
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-12-16 15:24:36 -0500
commitbbc5108bf8cfcb1f2334e51a8e904b5be48376e1 (patch)
tree974c7359702fc48811203ca8e37ea018ad38ce0c
parent44768320709183a341d219f97c03c5b592a69355 (diff)
Build tests and run non-GTK+ ones on `make check`
Setting TESTS will run the tests on `make check` Bug 25131
-rw-r--r--test/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 89d32e96..e892b51e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -31,7 +31,7 @@ if HAVE_GTK
GTK_LDADD = $(TEST_LDADD) $(GTK_LIBS)
GTK_UTILS = gtk-utils.c gtk-utils.h
-TESTPROGRAMS += \
+TESTPROGRAMS_GTK = \
clip-test \
clip-in \
composite-test \
@@ -69,5 +69,7 @@ convolution_test_SOURCES = convolution-test.c $(GTK_UTILS)
endif
-noinst_PROGRAMS = $(TESTPROGRAMS)
+check_PROGRAMS = $(TESTPROGRAMS) $(TESTPROGRAMS_GTK)
+
+TESTS = $(TESTPROGRAMS)