From 1f1a8aaeac3d89c73907c43a164fa3ce87fbf799 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 7 Mar 2013 18:14:08 +0100
Subject: [PATCH v2 11/18] build: Move unit tests from noinst_PROGRAMS to
 check_PROGRAMS
Status: obsolete
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 e3aa303..29a7762 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -137,7 +137,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)
 
-- 
1.8.3.1

