diff options
author | Balakrishna Garapati <balakrishna.garapati@linaro.org> | 2017-11-14 17:32:03 +0100 |
---|---|---|
committer | Yi He <yi.he@linaro.org> | 2017-12-08 11:08:24 +0800 |
commit | b920c02af3e0c179435db03c71694ace2a62c4f1 (patch) | |
tree | c0e4e72ce5ab44afa501879a5324bcfb283d92d2 | |
parent | 59877869efeb29038ba82a4b4771f5864438f8a8 (diff) |
test: enable dpdk initialization before running validation on linux-dpdk
Signed-off-by: Balakrishna Garapati <balakrishna.garapati@linaro.org>
Reviewed-by: Yi He <yi.he@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
-rwxr-xr-x | platform/linux-generic/test/wrapper-script.sh | 3 | ||||
-rw-r--r-- | test/Makefile.inc | 2 | ||||
-rw-r--r-- | test/performance/Makefile.am | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/platform/linux-generic/test/wrapper-script.sh b/platform/linux-generic/test/wrapper-script.sh new file mode 100755 index 000000000..977a032ae --- /dev/null +++ b/platform/linux-generic/test/wrapper-script.sh @@ -0,0 +1,3 @@ +#wrapper script for pre setting environment for validation suit. +#currently this is empty but needs to be created to make it align with +#linux-dpdk. diff --git a/test/Makefile.inc b/test/Makefile.inc index eaf791e08..3e7dfe57f 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -20,6 +20,8 @@ AM_CFLAGS = $(CUNIT_CFLAGS) AM_LDFLAGS = -L$(LIB) -static +LOG_COMPILER = $(top_srcdir)/platform/@with_platform@/test/wrapper-script.sh + @VALGRIND_CHECK_RULES@ TESTS_ENVIRONMENT = ODP_PLATFORM=${with_platform} \ diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am index 1dccd82e1..4417c4843 100644 --- a/test/performance/Makefile.am +++ b/test/performance/Makefile.am @@ -31,6 +31,6 @@ odp_sched_latency_SOURCES = odp_sched_latency.c odp_scheduling_SOURCES = odp_scheduling.c odp_pktio_perf_SOURCES = odp_pktio_perf.c -dist_check_SCRIPTS = $(TESTSCRIPTS) +dist_check_SCRIPTS = $(TESTSCRIPTS) $(LOG_COMPILER) dist_check_DATA = udp64.pcap |