[v2,1/2] test: traffic_mngr: fix install-check failure

Message ID 1497859209-10760-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series
  • test: traffic_mngr: fix install-check failure
Related show

Commit Message

Github ODP bot June 19, 2017, 8 a.m.
From: Yi He <yi.he@linaro.org>


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 <yi.he@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: 4bda102286cf55b0bc93fdf8f8f276d5528fdf14
 ** Merge commit sha: 44aa7de8407d751055353d99ed665dc7733f8dbb
 **/
 test/common_plat/validation/api/traffic_mngr/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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)