[V2,1/2] tests/virtio_unit_cryptodev_func: support vdev param

Message ID 20210609072046.25987-2-yux.jiang@intel.com (mailing list archive)
State Accepted
Headers
Series cryptodev unit test support vdev param |

Commit Message

Yu Jiang June 9, 2021, 7:20 a.m. UTC
  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@intel.com>
---
 tests/TestSuite_virtio_unit_cryptodev_func.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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