From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 72189A034C; Tue, 18 Aug 2020 09:59:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 38F841C020; Tue, 18 Aug 2020 09:59:54 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 14179AAD5 for ; Tue, 18 Aug 2020 09:59:51 +0200 (CEST) IronPort-SDR: lHNTPebJ/r6WdoAGANwD+OKGEcoEggFU3gV1jj/kJe37enAGxfLhyfmvU4cPBcVHCtS8FqZBed wMVtjtERIcwA== X-IronPort-AV: E=McAfee;i="6000,8403,9716"; a="152491312" X-IronPort-AV: E=Sophos;i="5.76,326,1592895600"; d="scan'208";a="152491312" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 00:59:50 -0700 IronPort-SDR: Gi3ABFe+9SCzHGRPAdz6zalS5uL3wv8chi1KW40BDcFQchvtCao6AzVekdC/O/ywKQfplmGML7 wm0+uyflzMOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,326,1592895600"; d="scan'208";a="326658024" Received: from fmsmsx602-2.cps.intel.com (HELO fmsmsx602.amr.corp.intel.com) ([10.18.84.212]) by orsmga008.jf.intel.com with ESMTP; 18 Aug 2020 00:59:50 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 18 Aug 2020 00:59:49 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 18 Aug 2020 15:59:48 +0800 Received: from shsmsx602.ccr.corp.intel.com ([10.109.6.142]) by SHSMSX602.ccr.corp.intel.com ([10.109.6.142]) with mapi id 15.01.1713.004; Tue, 18 Aug 2020 15:59:48 +0800 From: "Zhao, XinfengX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1 4/4] tests: remove unnecessary common_base modification and build Thread-Index: AQHWdTSWKgByoQdobkmgN+RKtAlSgak9gI0Q Date: Tue, 18 Aug 2020 07:59:48 +0000 Message-ID: <529124c4870241fa8c65b50554016a80@intel.com> References: <20200818075255.19830-1-xinfengx.zhao@intel.com> <20200818075255.19830-4-xinfengx.zhao@intel.com> In-Reply-To: <20200818075255.19830-4-xinfengx.zhao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 4/4] tests: remove unnecessary common_base modification and build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Tested-by: Zhao, Xinfeng -----Original Message----- From: Zhao, XinfengX=20 Sent: Tuesday, August 18, 2020 3:53 PM To: dts@dpdk.org Cc: Zhao, XinfengX Subject: [dts][PATCH V1 4/4] tests: remove unnecessary common_base modifica= tion and build Signed-off-by: xinfeng zhao --- 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/TestSuit= e_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=3D'#', timout=3D30): return self.dut.send_expect(cmdline, ex, timout) =20 - def build_user_dpdk(self, user_dut): - user_dut.send_expect( - "sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=3Dn$/CONFIG_RTE_LIBR= TE_PMD_AESNI_MB=3Dy/' config/common_base", '#', 30) - user_dut.send_expect( - "sed -i 's/CONFIG_RTE_EAL_IGB_UIO=3Dn/CONFIG_RTE_EAL_IGB_UIO= =3Dy/g' config/common_base", '#', 30) - out =3D user_dut.send_expect("make -j %d install T=3D%s MAKE_PAUSE= =3Dn" % (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 =3D self.dut_execut_cmd("make -C ./examples/vhost_crypto") =20 @@ -155,24 +146,14 @@ class VirtioCryptodevUnitTest(TestCase): vm =3D QEMUKvm(self.dut, vm_name, 'virtio_unit_cryptodev_func') vf0 =3D {'opt_host': self.sriov_vfs_port[0].pci} vm.set_vm_device(driver=3Dself.vf_assign_method, **vf0) - skip_setup =3D self.dut.skip_setup =20 try: - self.dut.skip_setup =3D True vm_dut =3D vm.start() if vm_dut is None: print(('{} start failed'.format(vm_name))) except Exception as err: raise err =20 - self.dut.skip_setup =3D 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 =3D self.set_virtio_pci(vm_dut) self.logger.info("{} virtio list: {}".format(vm_name, vm.virtio_li= st)) vm.cores =3D vm_dut.get_core_list("all") --=20 2.17.1