test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1 2/2] tests/pvp_virtio_user_4k_pages: modify testuite by DPDK changed
@ 2023-06-05  6:55 Wei Ling
  2023-06-07  7:59 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2023-06-05  6:55 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

1.Fix the verify the test result PASS or FAIL from the config file
issue.
2.As the DPDK commit a399d7b5(vfio: do not coalesce DMA mappings) changed,
We need to delete the `--no-huge -m 1024` parameter when start the
vhost-user as back-end side. So delete `--no-huge -m 1024` parameter 
in testsuite.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 tests/TestSuite_pvp_virtio_user_4k_pages.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py b/tests/TestSuite_pvp_virtio_user_4k_pages.py
index a89725e5..e8011fd3 100644
--- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
+++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
@@ -159,10 +159,11 @@ class TestPvpVirtioUser4kPages(TestCase):
             self.result_table_add(table_row)
         # present test results to screen
         self.result_table_print()
-        self.verify(
-            "FAIL" not in self.test_result,
-            "Excessive gap between test results and expectations",
-        )
+        for data in self.test_result.values():
+            self.verify(
+                data["Status"] != "FAIL",
+                "Excessive gap between test results and expectations",
+            )
 
     def start_testpmd_as_vhost(self):
         """
@@ -177,7 +178,7 @@ class TestPvpVirtioUser4kPages(TestCase):
             ports=[self.pci_info],
             vdevs=[vdev],
         )
-        command_line_client = testcmd + eal_params + " -m 1024 --no-huge" + para
+        command_line_client = testcmd + eal_params + para
         self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
         self.vhost_user.send_expect("start", "testpmd> ", 120)
 
-- 
2.34.1


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

* [dts][PATCH V1 2/2] tests/pvp_virtio_user_4k_pages: modify testuite by DPDK changed
  2023-06-05  6:55 [dts][PATCH V1 2/2] tests/pvp_virtio_user_4k_pages: modify testuite by DPDK changed Wei Ling
@ 2023-06-07  7:59 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2023-06-07  7:59 UTC (permalink / raw)
  To: dts, Wei Ling; +Cc: Wei Ling

On Mon,  5 Jun 2023 14:55:20 +0800, Wei Ling <weix.ling@intel.com> wrote:
> 1.Fix the verify the test result PASS or FAIL from the config file
> issue.
> 2.As the DPDK commit a399d7b5(vfio: do not coalesce DMA mappings) changed,
> We need to delete the `--no-huge -m 1024` parameter when start the
> vhost-user as back-end side. So delete `--no-huge -m 1024` parameter 
> in testsuite.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Series applied, thanks

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

end of thread, other threads:[~2023-06-07  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-05  6:55 [dts][PATCH V1 2/2] tests/pvp_virtio_user_4k_pages: modify testuite by DPDK changed Wei Ling
2023-06-07  7:59 ` 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).