tests: don't build tests unless make check is run

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@opensourcerouting.org>
This commit is contained in:
Christian Franke 2013-07-05 18:30:57 +02:00 committed by Greg Troxel
parent 1bf0ca9a07
commit d77102025a

View File

@ -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)