test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhao, XinfengX" <xinfengx.zhao@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1 4/4] tests: remove unnecessary common_base modification and build
Date: Tue, 18 Aug 2020 07:59:48 +0000	[thread overview]
Message-ID: <529124c4870241fa8c65b50554016a80@intel.com> (raw)
In-Reply-To: <20200818075255.19830-4-xinfengx.zhao@intel.com>

Tested-by:  Zhao, Xinfeng<xinfengx.zhao@intel.com>

-----Original Message-----
From: Zhao, XinfengX 
Sent: Tuesday, August 18, 2020 3:53 PM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH V1 4/4] tests: remove unnecessary common_base modification and build

Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com>
---
 tests/TestSuite_virtio_unit_cryptodev_func.py | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/tests/TestSuite_virtio_unit_cryptodev_func.py b/tests/TestSuite_virtio_unit_cryptodev_func.py
index 47e9c47..d8f56e2 100644
--- a/tests/TestSuite_virtio_unit_cryptodev_func.py
+++ b/tests/TestSuite_virtio_unit_cryptodev_func.py
@@ -86,15 +86,6 @@ class VirtioCryptodevUnitTest(TestCase):
     def dut_execut_cmd(self, cmdline, ex='#', timout=30):
         return self.dut.send_expect(cmdline, ex, timout)
 
-    def build_user_dpdk(self, user_dut):
-        user_dut.send_expect(
-            "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n$/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/' config/common_base", '#', 30)
-        user_dut.send_expect(
-            "sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' config/common_base", '#', 30)
-        out = user_dut.send_expect("make -j %d install T=%s MAKE_PAUSE=n" % (user_dut.number_of_cores, self.target), "# ", 900)
-        self.verify("Error" not in out, "compilation error 1")
-        self.verify("No such file" not in out, "compilation error 2")
-
     def build_vhost_app(self):
         out = self.dut_execut_cmd("make -C ./examples/vhost_crypto")
 
@@ -155,24 +146,14 @@ class VirtioCryptodevUnitTest(TestCase):
         vm = QEMUKvm(self.dut, vm_name, 'virtio_unit_cryptodev_func')
         vf0 = {'opt_host': self.sriov_vfs_port[0].pci}
         vm.set_vm_device(driver=self.vf_assign_method, **vf0)
-        skip_setup = self.dut.skip_setup
 
         try:
-            self.dut.skip_setup = True
             vm_dut = vm.start()
             if vm_dut is None:
                 print(('{} start failed'.format(vm_name)))
         except Exception as err:
             raise err
 
-        self.dut.skip_setup = skip_setup
-        vm_dut.restore_interfaces()
-
-        if not self.dut.skip_setup:
-            self.build_user_dpdk(vm_dut)
-
-        vm_dut.setup_modules(self.target, "igb_uio", None)
-        vm_dut.bind_interfaces_linux('igb_uio')
         vm.virtio_list = self.set_virtio_pci(vm_dut)
         self.logger.info("{} virtio list: {}".format(vm_name, vm.virtio_list))
         vm.cores = vm_dut.get_core_list("all")
-- 
2.17.1


  reply	other threads:[~2020-08-18  7:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18  7:52 [dts] [PATCH V1 1/4] conf: modify cryptodev virtio perf test plan xinfeng zhao
2020-08-18  7:52 ` [dts] [PATCH V1 2/4] conf: modify cryptodev virtio ipsec " xinfeng zhao
2020-08-18  7:52 ` [dts] [PATCH V1 3/4] conf: modify cryptodev virtio unit " xinfeng zhao
2020-08-18  7:52 ` [dts] [PATCH V1 4/4] tests: remove unnecessary common_base modification and build xinfeng zhao
2020-08-18  7:59   ` Zhao, XinfengX [this message]
2020-08-21  3:39 ` [dts] [PATCH V1 1/4] conf: modify cryptodev virtio perf test plan 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=529124c4870241fa8c65b50554016a80@intel.com \
    --to=xinfengx.zhao@intel.com \
    --cc=dts@dpdk.org \
    /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).