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'.main
parent
62731b8411
commit
52a3e9df62
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue