[dts] [PATCH V1 5/9] tests/TestSuite_unit_tests_cryptodev_func: support meson build

Jiang, YuX yux.jiang at intel.com
Mon Sep 7 13:10:31 CEST 2020


From: "Jiang,yu" <yux.jiang at intel.com>

adapt to support both meson and makefile build

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

diff --git a/tests/TestSuite_unit_tests_cryptodev_func.py b/tests/TestSuite_unit_tests_cryptodev_func.py
index e990192..fdc1398 100644
--- a/tests/TestSuite_unit_tests_cryptodev_func.py
+++ b/tests/TestSuite_unit_tests_cryptodev_func.py
@@ -39,7 +39,7 @@ import cryptodev_common as cc
 class UnitTestsCryptodev(TestCase):
 
     def set_up_all(self):
-        self._app_path = "./{target}/app/test".format(target=self.dut.target)
+        self._app_path = self.dut.apps_name['test']
         if not cc.is_build_skip(self):
             cc.build_dpdk_with_cryptodev(self)
         cc.bind_qat_device(self, "vfio-pci")
-- 
2.7.4



More information about the dts mailing list