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

Message ID 20200907111035.7697-6-yux.jiang@intel.com (mailing list archive)
State Accepted
Headers
Series Modify suites to support meson & makefile |

Commit Message

Yu Jiang Sept. 7, 2020, 11:10 a.m. UTC
  From: "Jiang,yu" <yux.jiang@intel.com>

adapt to support both meson and makefile build

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

Patch

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