[dts] [PATCH V1 1/2] tests/virtio_unit_cryptodev_func: support vdev param

Yu Jiang yux.jiang at intel.com
Fri May 28 09:53:11 CEST 2021


Based on dpdk commit 8bfdd8a7f0f1 ("test/crypto: refactor to use sub test suites"),
unit test support vdev param.

Signed-off-by: Yu Jiang <yux.jiang at intel.com>
---
 tests/TestSuite_virtio_unit_cryptodev_func.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_virtio_unit_cryptodev_func.py b/tests/TestSuite_virtio_unit_cryptodev_func.py
index 8d69d5b..bf96b62 100644
--- a/tests/TestSuite_virtio_unit_cryptodev_func.py
+++ b/tests/TestSuite_virtio_unit_cryptodev_func.py
@@ -158,7 +158,7 @@ class VirtioCryptodevUnitTest(TestCase):
         return vm, vm_dut
 
     def test_cryptodev_virtio_autotest(self):
-        eal_opt_str = cc.get_eal_opt_str(self, {"a":None, "vdev":None})
+        eal_opt_str = cc.get_eal_opt_str(self, {"a":None, "vdev": "crypto_virtio"})
         self.__run_unit_test("cryptodev_virtio_autotest", eal_opt_str)
 
     def __run_unit_test(self, testsuite, eal_opt_str='', timeout=600):
-- 
2.7.4



More information about the dts mailing list