From 6e6bf7ebccaa150f775bcd1a03dc68bd0aacb0f8 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 27 Sep 2014 15:47:43 +0200 Subject: build: Move unit tests from noinst_PROGRAMS to check_PROGRAMS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This means the unit tests will only be built when running «make check», only when they will be used. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 8e58ac1..e92d48e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -215,7 +215,7 @@ unit_test_snep_read_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ unit/test-utils.h unit_test_snep_read_LDADD = ${GLIB_LIBS} ${DBUS_LIBS} -noinst_PROGRAMS += $(unit_tests) +check_PROGRAMS = $(unit_tests) TESTS = $(unit_tests) -- cgit v1.2.3