From 86aa707fcc1d44e385d0d9d3dfdb305f5eb5c5e6 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 7 Mar 2013 18:14:08 +0100
Subject: [PATCH 11/15] 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 b9d110c..febe39e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -120,7 +120,7 @@ unit_test_ndef_build_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
 					src/ndef.c unit/test-ndef-build.c
 unit_test_ndef_build_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
 
-noinst_PROGRAMS += $(unit_tests)
+check_PROGRAMS = $(unit_tests)
 
 TESTS = $(unit_tests)
 
-- 
1.8.2.rc2

