[V1,4/9] tests/TestSuite_l2fwd_cryptodev_func: support meson build

Message ID 20200907111035.7697-5-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_l2fwd_cryptodev_func.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/tests/TestSuite_l2fwd_cryptodev_func.py b/tests/TestSuite_l2fwd_cryptodev_func.py
index a40956e..664aa14 100644
--- a/tests/TestSuite_l2fwd_cryptodev_func.py
+++ b/tests/TestSuite_l2fwd_cryptodev_func.py
@@ -79,7 +79,7 @@  class TestL2fwdCrypto(TestCase):
         self.logger.info("tx interface = " + self.tx_interface)
         self.logger.info("rx interface = " + self.rx_interface)
 
-        self._app_path = "./examples/l2fwd-crypto/build/l2fwd-crypto"
+        self._app_path = self.dut.apps_name['l2fwd-crypto']
         if not cc.is_build_skip(self):
             cc.build_dpdk_with_cryptodev(self)