[quagga-dev 10573] [PATCH 2/2] tests: don't build tests unless make check is run

Christian Franke chris at opensourcerouting.org
Fri Jul 5 17:30:57 BST 2013


Use check_PROGRAMS instead of noinst_PROGRAMS in tests/Makefile.am
to build the tests only when make check is actually run.

Signed-off-by: Christian Franke <chris at opensourcerouting.org>
---
 tests/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index b7a7fe7..2ed0e1c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,7 +24,7 @@ else
 TESTS_BGPD =
 endif
 
-noinst_PROGRAMS = testsig testbuffer testmemory heavy heavywq heavythread \
+check_PROGRAMS = testsig testbuffer testmemory heavy heavywq heavythread \
 		testprivs teststream testchecksum tabletest \
 		$(TESTS_BGPD)
 
-- 
1.7.10.4





More information about the Quagga-dev mailing list