test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] pvp_virtio_user_4k_pages: rename testsuite
@ 2023-05-22  8:58 Wei Ling
  2023-05-25  2:47 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2023-05-22  8:58 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

Rename pvp_virtio_user_4k_hugepages to pvp_virtio_user_4k_pages in
related files, incluse index.rst, test_plan, testsuite and config file.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 ...o_user_4k_hugepages.cfg => pvp_virtio_user_4k_pages.cfg} | 4 ++--
 test_plans/index.rst                                        | 2 +-
 ...test_plan.rst => pvp_virtio_user_4k_pages_test_plan.rst} | 0
 ...k_hugepages.py => TestSuite_pvp_virtio_user_4k_pages.py} | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename conf/{pvp_virtio_user_4k_hugepages.cfg => pvp_virtio_user_4k_pages.cfg} (69%)
 rename test_plans/{pvp_virtio_user_4k_hugepages_test_plan.rst => pvp_virtio_user_4k_pages_test_plan.rst} (100%)
 rename tests/{TestSuite_pvp_virtio_user_4k_hugepages.py => TestSuite_pvp_virtio_user_4k_pages.py} (98%)

diff --git a/conf/pvp_virtio_user_4k_hugepages.cfg b/conf/pvp_virtio_user_4k_pages.cfg
similarity index 69%
rename from conf/pvp_virtio_user_4k_hugepages.cfg
rename to conf/pvp_virtio_user_4k_pages.cfg
index 514230e9..c7428b0c 100644
--- a/conf/pvp_virtio_user_4k_hugepages.cfg
+++ b/conf/pvp_virtio_user_4k_pages.cfg
@@ -4,8 +4,8 @@ packet_sizes = [64, 128, 256, 512, 1024, 1518]
 test_duration = 30
 accepted_tolerance = 5
 expected_throughput = {
-    'test_perf_pvp_virtio_user_split_ring_with_4K_hugepages': {
+    'test_perf_pvp_virtio_user_split_ring_with_4K_pages': {
         64: 0.00, 128: 0.00, 256: 0.00, 512: 0.00, 1024: 0.00, 1518: 0.00}, 
-    'test_perf_pvp_virtio_user_packed_ring_with_4K_hugepages': {
+    'test_perf_pvp_virtio_user_packed_ring_with_4K_pages': {
         64: 0.00, 128: 0.00, 256: 0.00, 512: 0.00, 1024: 0.00, 1518: 0.00}}
 
diff --git a/test_plans/index.rst b/test_plans/index.rst
index a0c056cd..2008f50b 100644
--- a/test_plans/index.rst
+++ b/test_plans/index.rst
@@ -260,7 +260,7 @@ The following are the test plans for the DPDK DTS automated test system.
     pvp_qemu_multi_paths_port_restart_test_plan
     pvp_vhost_user_reconnect_test_plan
     pvp_virtio_bonding_test_plan
-    pvp_virtio_user_4k_hugepages_test_plan
+    pvp_virtio_user_4k_pages_test_plan
     vdev_primary_secondary_test_plan
     vhost_1024_ethports_test_plan
     virtio_pvp_regression_test_plan
diff --git a/test_plans/pvp_virtio_user_4k_hugepages_test_plan.rst b/test_plans/pvp_virtio_user_4k_pages_test_plan.rst
similarity index 100%
rename from test_plans/pvp_virtio_user_4k_hugepages_test_plan.rst
rename to test_plans/pvp_virtio_user_4k_pages_test_plan.rst
diff --git a/tests/TestSuite_pvp_virtio_user_4k_hugepages.py b/tests/TestSuite_pvp_virtio_user_4k_pages.py
similarity index 98%
rename from tests/TestSuite_pvp_virtio_user_4k_hugepages.py
rename to tests/TestSuite_pvp_virtio_user_4k_pages.py
index f7d2fe57..a89725e5 100644
--- a/tests/TestSuite_pvp_virtio_user_4k_hugepages.py
+++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
@@ -9,7 +9,7 @@ from framework.settings import HEADER_SIZE, UPDATE_EXPECTED, load_global_setting
 from framework.test_case import TestCase
 
 
-class TestPvpVirtioUser4kHugepages(TestCase):
+class TestPvpVirtioUser4kPages(TestCase):
     def set_up_all(self):
         """
         Run at the start of each test suite.
@@ -221,7 +221,7 @@ class TestPvpVirtioUser4kHugepages(TestCase):
         self.dut.close_session(self.vhost_user)
         self.dut.close_session(self.virtio_user)
 
-    def test_perf_pvp_virtio_user_split_ring_with_4K_hugepages(self):
+    def test_perf_pvp_virtio_user_split_ring_with_4K_pages(self):
         """
         Basic test for virtio-user 4K pages
         """
@@ -237,7 +237,7 @@ class TestPvpVirtioUser4kHugepages(TestCase):
         self.handle_results()
         self.close_all_apps()
 
-    def test_perf_pvp_virtio_user_packed_ring_with_4K_hugepages(self):
+    def test_perf_pvp_virtio_user_packed_ring_with_4K_pages(self):
         """
         Basic test for virtio-user 4K pages
         """
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-25  2:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-22  8:58 [dts][PATCH V1] pvp_virtio_user_4k_pages: rename testsuite Wei Ling
2023-05-25  2:47 ` lijuan.tu

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