From 52a3e9df629952e58bd019b8cd4cda1dd254a543 Mon Sep 17 00:00:00 2001 From: Jonathan Callen Date: Wed, 12 May 2010 13:55:34 -0400 Subject: Only build tests in make check Currently, all the tests for libdrm are built during 'make all', even if you do not wish to run tests. Attached is a patch, based on version 2.4.15, to make the tests build in 'make check'. --- tests/Makefile.am | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 5d240a05..ebf4853a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,7 +6,7 @@ AM_CPPFLAGS = \ LDADD = $(top_builddir)/libdrm.la -noinst_PROGRAMS = \ +check_PROGRAMS = \ dristat \ drmstat @@ -21,7 +21,7 @@ endif if HAVE_LIBUDEV -EXTRA_LTLIBRARIES = libdrmtest.la +check_LTLIBRARIES = libdrmtest.la libdrmtest_la_SOURCES = \ drmtest.c \ @@ -63,8 +63,6 @@ TESTS += \ $(NULL) endif -EXTRA_PROGRAMS = $(TESTS) +check_PROGRAMS += $(TESTS) endif - -CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) -- cgit v1.2.3