From 44c90adb1d6987473d7b8442c3f8ad1e3e76f3c0 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 7 Mar 2013 18:16:28 +0100
Subject: [PATCH v4 08/13] build: Always run the unit tests regardless of the
 tools being built
Status: applied

These have no relation, so there's no point in making one conditional
to the other.
---
 Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e92d48e..0010f90 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -187,6 +187,7 @@ tools_nfctool_nfctool_SOURCES = tools/nfctool/main.c \
 					tools/nfctool/display.c
 
 tools_nfctool_nfctool_LDADD = ${GLIB_LIBS} ${NETLINK_LIBS}
+endif
 
 tools_nfctool_nfctool_CPPFLAGS = ${GLIB_CFLAGS} ${DBUS_CFLAGS} ${NETLINK_CFLAGS} \
 			-DNEAR_PLUGIN_BUILTIN \
@@ -219,8 +220,6 @@ check_PROGRAMS = $(unit_tests)
 
 TESTS = $(unit_tests)
 
-endif
-
 include Makefile.plugins
 
 EXTRA_DIST += $(test_scripts)
-- 
2.1.1

