From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 331D0A00E6 for ; Fri, 14 Jun 2019 11:54:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 082B11D516; Fri, 14 Jun 2019 11:54:25 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 102571D515 for ; Fri, 14 Jun 2019 11:54:23 +0200 (CEST) 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/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 02:54:22 -0700 X-ExtLoop1: 1 Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga008.jf.intel.com with ESMTP; 14 Jun 2019 02:54:21 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 14 Jun 2019 02:54:21 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 14 Jun 2019 02:54:20 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.104]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.185]) with mapi id 14.03.0439.000; Fri, 14 Jun 2019 17:54:19 +0800 From: "Zhu, ShuaiX" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V1] tests/virtio_perf:change the method of verify_result Thread-Index: AQHVIpLYObwPJyLzFEu/CieaePeM/qaa6PqQ Date: Fri, 14 Jun 2019 09:54:18 +0000 Message-ID: <4DC48DF9BDA3E54A836D2D3C057DEC6F0B1A9724@SHSMSX101.ccr.corp.intel.com> References: <1560504466-4045-1-git-send-email-bingx.y.yao@intel.com> In-Reply-To: <1560504466-4045-1-git-send-email-bingx.y.yao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/virtio_perf:change the method of verify_result 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: Zhu, ShuaiX > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing > Sent: Friday, June 14, 2019 5:28 PM > To: dts@dpdk.org > Cc: Yao, BingX Y > Subject: [dts] [PATCH V1] tests/virtio_perf:change the method of verify_r= esult >=20 > change the method of verify_result >=20 > Signed-off-by: yaobing > --- > tests/TestSuite_virtio_perf_cryptodev_func.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_virtio_perf_cryptodev_func.py > b/tests/TestSuite_virtio_perf_cryptodev_func.py > index 1f23363..b0b23d5 100644 > --- a/tests/TestSuite_virtio_perf_cryptodev_func.py > +++ b/tests/TestSuite_virtio_perf_cryptodev_func.py > @@ -209,7 +209,7 @@ class VirtioCryptodevPerfTest(TestCase): > crypto_perf_opt_str =3D cc.get_opt_str(self, > self._default_crypto_perf_opts) > out =3D self._run_crypto_perf(eal_opt_str, crypto_perf_opt_str) > self.logger.info(out) > - self.verify("Failed" not in out, "Test fail") > + self.verify("Enqueued" in out, "Test fail") > self.verify("Error" not in out, "Test fail") >=20 > def test_virtio_aes_cbc_sha1_hmac(self): > @@ -220,7 +220,7 @@ class VirtioCryptodevPerfTest(TestCase): > crypto_perf_opt_str =3D cc.get_opt_str(self, > self._default_crypto_perf_opts) > out =3D self._run_crypto_perf(eal_opt_str, crypto_perf_opt_str) > self.logger.info(out) > - self.verify("Failed" not in out, "Test fail") > + self.verify("Enqueued" in out, "Test fail") > self.verify("Error" not in out, "Test fail") >=20 > def _run_crypto_perf(self, eal_opt_str, crypto_perf_opt_str): > -- > 2.17.2