summaryrefslogtreecommitdiffstats
path: root/jjb/tldk
diff options
context:
space:
mode:
authorMariusz Drost <mariuszx.drost@intel.com>2020-03-06 09:55:41 +0000
committerMariusz Drost <mariuszx.drost@intel.com>2020-03-10 10:14:09 +0000
commit9d13e087a3631a52922f06effabb6a649ec711d0 (patch)
tree821f29675bf502f6708ca72ac70616ea2cefc607 /jjb/tldk
parentabde93fdd65eb916d1f9147e334bff457de93f65 (diff)
Add ofo/lost segment test call
Modify include-raw-build script to call ofo/lost segment test for tldk Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com> Change-Id: I61280e62355b65b74357323297d7896d0046010e
Diffstat (limited to 'jjb/tldk')
-rwxr-xr-xjjb/tldk/include-raw-build.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/jjb/tldk/include-raw-build.sh b/jjb/tldk/include-raw-build.sh
index 164d0d494..d2baf0cf4 100755
--- a/jjb/tldk/include-raw-build.sh
+++ b/jjb/tldk/include-raw-build.sh
@@ -41,3 +41,18 @@ sudo $WORKSPACE/x86_64-native-linuxapp-gcc/app/gtest-rfc --lcores=0 -n 2
echo "*******************************************************************"
echo "* TLDK UNIT TESTS SUCCESSFUL"
echo "*******************************************************************"
+
+if [ -f "$WORKSPACE/examples/l4fwd/test/run_test.sh" ]
+then
+ export ETH_DEV="tap"
+ export L4FWD_PATH=$WORKSPACE/x86_64-native-linuxapp-gcc/app/l4fwd
+ export L4FWD_FECORE=0
+ export L4FWD_BECORE=1
+
+ sudo -E /bin/bash $WORKSPACE/examples/l4fwd/test/run_test.sh -46a
+
+ echo "*****************************************************************"
+ echo "* TLDK OFO/LOST SEGMENT TESTS SUCCESSFUL"
+ echo "*****************************************************************"
+fi
+