summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2014-09-27 15:47:43 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2014-10-20 01:18:15 +0200
commit6e6bf7ebccaa150f775bcd1a03dc68bd0aacb0f8 (patch)
tree8110a3752b1bea2f8e02fdbf7a90bc980d445940
parent90f885e465c873a3a437e1d6957f06ba40b2ef70 (diff)
downloadneard-6e6bf7ebccaa150f775bcd1a03dc68bd0aacb0f8.tar.gz
neard-6e6bf7ebccaa150f775bcd1a03dc68bd0aacb0f8.tar.bz2
neard-6e6bf7ebccaa150f775bcd1a03dc68bd0aacb0f8.zip
build: Move unit tests from noinst_PROGRAMS to check_PROGRAMS
This means the unit tests will only be built when running «make check», only when they will be used.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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)