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 EAB47A046B for ; Wed, 26 Jun 2019 08:58:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7CD144C77; Wed, 26 Jun 2019 08:58:54 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 19C1F326D for ; Wed, 26 Jun 2019 08:58:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2019 23:58:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,418,1557212400"; d="scan'208";a="164254936" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 25 Jun 2019 23:58:51 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 25 Jun 2019 23:58:51 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 25 Jun 2019 23:58:51 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.156]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 14:58:49 +0800 From: "Tu, Lijuan" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" Thread-Topic: [dts] [PATCH V1] tests/virtio_perf:change the method of verify_result Thread-Index: AQHVIpLYQcko2xLp/0WAs/wfCX2CHaatlAbw Date: Wed, 26 Jun 2019 06:58:48 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAC46B8@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: zh-CN, 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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmRlMGFhZTYtODU2Yi00YmM1LTg3MTAtYjY5ZjAwNDFiOTM5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWkZVdE1WUWRMUElzNlFjRk9jSnJtckttSVwvU1wvVXdIMlBDc0JOVzdLVmg5Nm9oNjgzaWU3MWVkSlc4MFRkV2NNIn0= 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" Applied, thanks > -----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_result >=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