From: Yi He <[email protected]> make install-check failed by not able to find traffic_mngr test binary and script in the installation. this patch changes Makefile.am to install test_PROGRAMS and test_SCRIPTS.
Signed-off-by: Yi He <[email protected]> --- /** 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: f4386378e466a519d8f97923ba43ea22dec1e933 ** Merge commit sha: 265392a7178393284154cea68e0270ec049d40a8 **/ 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)
