test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/virtio_perf:change the method of verify_result
@ 2019-06-14  9:27 yaobing
  2019-06-14  9:54 ` Zhu, ShuaiX
  2019-06-26  6:58 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: yaobing @ 2019-06-14  9:27 UTC (permalink / raw)
  To: dts; +Cc: yaobing

change the method of verify_result

Signed-off-by: yaobing <bingx.y.yao@intel.com>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-26  6:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14  9:27 [dts] [PATCH V1] tests/virtio_perf:change the method of verify_result yaobing
2019-06-14  9:54 ` Zhu, ShuaiX
2019-06-26  6:58 ` Tu, Lijuan

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).