[V1,4/5] test_plans/*: modify test plan to adapt meson build

Message ID 20220223134838.509099-5-yux.jiang@intel.com (mailing list archive)
State Superseded
Headers
Series test_plans/*: modify test plan to adapt meson build |

Commit Message

Yu Jiang Feb. 23, 2022, 1:48 p.m. UTC
  test_plans/*: modify test plan to adapt meson build,
including iavf,ipsec_gw_and_library,keep_alive,kernelpf_iavf

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 test_plans/iavf_test_plan.rst                 |  8 ++++----
 test_plans/ipsec_gw_and_library_test_plan.rst |  2 --
 test_plans/keep_alive_test_plan.rst           | 13 ++-----------
 test_plans/kernelpf_iavf_test_plan.rst        |  2 +-
 4 files changed, 7 insertions(+), 18 deletions(-)
  

Patch

diff --git a/test_plans/iavf_test_plan.rst b/test_plans/iavf_test_plan.rst
index c055cd83..ddd7fbb9 100644
--- a/test_plans/iavf_test_plan.rst
+++ b/test_plans/iavf_test_plan.rst
@@ -54,7 +54,7 @@  Prerequisites
 
 2. Start testpmd on host to configure VF ports' mac::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 1-5 -n 4  -- -i
+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4  -- -i
 
     testpmd>set vf mac addr 0 0 00:12:34:56:78:01
     testpmd>set vf mac addr 1 0 00:12:34:56:78:02
@@ -79,7 +79,7 @@  Test case: VF basic RX/TX
 ---------------------------
 1. Start testpmd on VM::
 
-      ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1  -- -i
+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1  -- -i
 
 2. Check and verify packets which received and forwarded
 
@@ -89,7 +89,7 @@  Test Cases: VF mac filter
 
 Start testpmd on VM::
 
-      ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1  -- -i
+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1  -- -i
 
 Test Case: unicast test
 ------------------------
@@ -141,7 +141,7 @@  Test Cases: VF VLAN feature vlan filter only work with promisc mode off
 
 Start testpmd on VM::
 
-      ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 1  -- -i
+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 1  -- -i
 
 Test Case: vlan filter
 ---------------------------
diff --git a/test_plans/ipsec_gw_and_library_test_plan.rst b/test_plans/ipsec_gw_and_library_test_plan.rst
index 1cd80783..8d51b684 100644
--- a/test_plans/ipsec_gw_and_library_test_plan.rst
+++ b/test_plans/ipsec_gw_and_library_test_plan.rst
@@ -125,8 +125,6 @@  The test commands of ipsec-secgw is below::
 
 compile the applications::
 
-    make -C ./examples/ipsec-secgw
-
     meson:
     meson configure -Dexamples=ipsec-secgw <build_target>
     ninja -C <build_target>
diff --git a/test_plans/keep_alive_test_plan.rst b/test_plans/keep_alive_test_plan.rst
index 81c1c74f..41b5e4e0 100644
--- a/test_plans/keep_alive_test_plan.rst
+++ b/test_plans/keep_alive_test_plan.rst
@@ -49,15 +49,6 @@  Compiling the Application
 =========================
 
 To compile the application:
-
-Go to the sample application directory::
-
-   export RTE_SDK=/path/to/rte_sdk cd ${RTE_SDK}/examples/keep_alive
-
-Set the target (a default target is used if not specified). For example::
-
-   export RTE_TARGET=x86_64-native-linuxapp-gcc
-
 See the DPDK Getting Started Guide for possible RTE_TARGET values.
 Build the application::
 
@@ -69,7 +60,7 @@  Running the Application
 
 The application has a number of command line options::
 
-   ./build/l2fwd-keepalive [EAL options] -- -p PORTMASK [-q NQ] [-K PERIOD] [-T PERIOD]
+   ./<build_target>/examples/dpdk-l2fwd-keepalive [EAL options] -- -p PORTMASK [-q NQ] [-K PERIOD] [-T PERIOD]
 
 where,
 
@@ -80,6 +71,6 @@  where,
 
 To run the application in linuxapp environment with 4 lcores, 16 ports 8 RX queues per lcore and a ping interval of 10ms, issue the command::
 
-    ./build/l2fwd-keepalive -c f -n 4 -- -q 8 -p ffff -K 10
+    ./<build_target>/examples/dpdk-l2fwd-keepalive -c f -n 4 -- -q 8 -p ffff -K 10
 
 Refer to the DPDK Getting Started Guide for general information on running applications and the Environment Abstraction Layer (EAL) options.
diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst
index 45c217e4..9c10b125 100644
--- a/test_plans/kernelpf_iavf_test_plan.rst
+++ b/test_plans/kernelpf_iavf_test_plan.rst
@@ -653,7 +653,7 @@  Bind VFs to vfio-pci::
 
 Start l3fwd power with one queue per port::
 
-    ./examples/l3fwd-power/build/l3fwd-power -l 6,7 -n 4 -- \
+    ./<build_target>/examples/dpdk-l3fwd-power -l 6,7 -n 4 -- \
     -p 0x3 --config '(0,0,6),(1,0,7)'
 
 Send one packet to VF0 and VF1, check that thread on core6 and core7 waked up::