From 448e9f76d8843d05fcaf6c9863aa08db95b50826 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 22 Apr 2016 18:06:11 +0200 Subject: [PATCH] tests: do not compile tests/decode unless running tests Fix #175 --- tests/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index b06d7f81..cd20adcc 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -42,9 +42,7 @@ check_snmp_SOURCES = check_snmp.c \ LDADD += @NETSNMP_LIBS@ endif -check_PROGRAMS = $(TESTS) - -noinst_PROGRAMS = decode +check_PROGRAMS = $(TESTS) decode decode_SOURCES = decode.c \ $(top_srcdir)/src/daemon/lldpd.h \ common.h common.c -- 2.47.2