diff mbox series

[2.0,v1,1/3] test: enable dpdk initialization before running validation on linux-dpdk

Message ID 1512086407-25684-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [2.0,v1,1/3] test: enable dpdk initialization before running validation on linux-dpdk | expand

Commit Message

Github ODP bot Dec. 1, 2017, midnight UTC
From: Balakrishna Garapati <balakrishna.garapati@linaro.org>


Signed-off-by: Balakrishna Garapati <balakrishna.garapati@linaro.org>

---
/** Email created from pull request 317 (GBalakrishna:port_syzmon_crypto_changes)
 ** https://github.com/Linaro/odp/pull/317
 ** Patch: https://github.com/Linaro/odp/pull/317.patch
 ** Base sha: 00c7441fae53949dd87855d48102f932f8f64537
 ** Merge commit sha: 47d0d3921c6a03fb7ac9b994e06521598c5bd982
 **/
 platform/linux-generic/test/wrapper-script.sh | 3 +++
 test/Makefile.inc                             | 2 ++
 test/performance/Makefile.am                  | 2 +-
 3 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100755 platform/linux-generic/test/wrapper-script.sh
diff mbox series

Patch

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