test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yu Jiang <yux.jiang@intel.com>
To: lijuan.tu@intel.com, dts@dpdk.org
Cc: Yu Jiang <yux.jiang@intel.com>
Subject: [dts][PATCH V3 3/5] test_plans/*: modify test plan to adapt meson build
Date: Thu, 24 Feb 2022 13:46:33 +0000	[thread overview]
Message-ID: <20220224134635.1501581-4-yux.jiang@intel.com> (raw)
In-Reply-To: <20220224134635.1501581-1-yux.jiang@intel.com>

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(-)

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::
-- 
2.25.1


  parent reply	other threads:[~2022-02-24  5:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-24 13:46 [dts][PATCH V3 0/5] " Yu Jiang
2022-02-24 13:46 ` [dts][PATCH V3 1/5] " Yu Jiang
2022-02-24 13:46 ` [dts][PATCH V3 2/5] " Yu Jiang
2022-02-24 13:46 ` Yu Jiang [this message]
2022-02-24 13:46 ` [dts][PATCH V3 4/5] " Yu Jiang
2022-02-24 13:46 ` [dts][PATCH V3 5/5] " Yu Jiang
2022-02-27 14:17   ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220224134635.1501581-4-yux.jiang@intel.com \
    --to=yux.jiang@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).