[dts] [PATCH V1] tests/virtio_perf:change the method of verify_result

yaobing bingx.y.yao at intel.com
Fri Jun 14 11:27:46 CEST 2019


change the method of verify_result

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



More information about the dts mailing list