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 E14F1A00E6 for ; Fri, 14 Jun 2019 11:23:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AB9861D4AF; Fri, 14 Jun 2019 11:23:05 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E11D51D4AD for ; Fri, 14 Jun 2019 11:23:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 02:23:04 -0700 X-ExtLoop1: 1 Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 14 Jun 2019 02:23:03 -0700 From: yaobing To: dts@dpdk.org Cc: yaobing Date: Fri, 14 Jun 2019 17:27:46 +0800 Message-Id: <1560504466-4045-1-git-send-email-bingx.y.yao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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" change the method of verify_result Signed-off-by: yaobing --- tests/TestSuite_virtio_perf_cryptodev_func.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = cc.get_opt_str(self, self._default_crypto_perf_opts) out = 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") def test_virtio_aes_cbc_sha1_hmac(self): @@ -220,7 +220,7 @@ class VirtioCryptodevPerfTest(TestCase): crypto_perf_opt_str = cc.get_opt_str(self, self._default_crypto_perf_opts) out = 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") def _run_crypto_perf(self, eal_opt_str, crypto_perf_opt_str): -- 2.17.2