diff mbox series

[2.0,v1,4/5] linux-dpdk: fix platform tests

Message ID 1512547207-1806-5-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [2.0,v1,1/5] test: enable dpdk initialization before running validation on linux-dpdk | expand

Commit Message

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


Fixed search path in pktio_run.sh for pktio_main executable,
and Makefile.am to run platform tests with wrapper script.

Signed-off-by: Yi He <yi.he@linaro.org>

Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>

---
/** Email created from pull request 323 (heyi-linaro:2.0-linux-dpdk-make-check)
 ** https://github.com/Linaro/odp/pull/323
 ** Patch: https://github.com/Linaro/odp/pull/323.patch
 ** Base sha: 00c7441fae53949dd87855d48102f932f8f64537
 ** Merge commit sha: 97e968c4c23266a903016fe9bda392687b44b08f
 **/
 platform/linux-dpdk/test/Makefile.am                       | 2 --
 platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/platform/linux-dpdk/test/Makefile.am b/platform/linux-dpdk/test/Makefile.am
index a872400e4..8cb27b14f 100644
--- a/platform/linux-dpdk/test/Makefile.am
+++ b/platform/linux-dpdk/test/Makefile.am
@@ -14,8 +14,6 @@  SUBDIRS += validation/api/pktio
 endif
 endif
 
-TEST_EXTENSIONS = .sh
-
 TESTNAME = linux-dpdk
 
 TESTENV = tests-$(TESTNAME).env
diff --git a/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh b/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh
index 538c87d00..a08256a6b 100755
--- a/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh
+++ b/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh
@@ -23,7 +23,7 @@ 
 # running stand alone out of tree requires setting PATH
 PATH=${TEST_DIR}/api/pktio:$PATH
 PATH=$(dirname $0):$PATH
-PATH=$(dirname $0)/../../../../common_plat/validation/api/pktio:$PATH
+PATH=$(dirname $0)/../../../../../../test/validation/api/pktio:$PATH
 PATH=.:$PATH
 
 pktio_main_path=$(which pktio_main${EXEEXT})