From: Yi He <yi...@linaro.org> When configured odp with --enable-test-vald, make distcheck will fail by not being able to find the traffic_mngr test binary and script in the distribution. This patch installs traffic_mngr test_PROGRAMS and test_SCRIPTS in distribution build.
Signed-off-by: Yi He <yi...@linaro.org> --- /** Email created from pull request 35 (heyi-linaro:install-check) ** https://github.com/Linaro/odp/pull/35 ** Patch: https://github.com/Linaro/odp/pull/35.patch ** Base sha: 0d24adacfe17c8e0e1348f19cd8b75b64cb13ccf ** Merge commit sha: 98a29bbfe0330710e92fce70c7b3243bee460257 **/ test/common_plat/validation/api/traffic_mngr/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/common_plat/validation/api/traffic_mngr/Makefile.am b/test/common_plat/validation/api/traffic_mngr/Makefile.am index a012c1b3..44d50a91 100644 --- a/test/common_plat/validation/api/traffic_mngr/Makefile.am +++ b/test/common_plat/validation/api/traffic_mngr/Makefile.am @@ -10,9 +10,10 @@ TESTS = $(TESTSCRIPTS) noinst_LTLIBRARIES = libtesttraffic_mngr.la libtesttraffic_mngr_la_SOURCES = traffic_mngr.c -bin_PROGRAMS = traffic_mngr_main$(EXEEXT) +test_PROGRAMS = traffic_mngr_main$(EXEEXT) dist_traffic_mngr_main_SOURCES = traffic_mngr_main.c traffic_mngr_main_LDADD = libtesttraffic_mngr.la -lm $(LIBCUNIT_COMMON) $(LIBODP) EXTRA_DIST = traffic_mngr.h $(TESTSCRIPTS) dist_check_SCRIPTS = $(TESTSCRIPTS) +test_SCRIPTS = $(dist_check_SCRIPTS)