diff mbox series

[V1,1/9] tests/TestSuite_crypto_perf_cryptodev_perf: support meson build

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

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_crypto_perf_cryptodev_perf.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_crypto_perf_cryptodev_perf.py b/tests/TestSuite_crypto_perf_cryptodev_perf.py
index fb9f2e0..b8d6242 100644
--- a/tests/TestSuite_crypto_perf_cryptodev_perf.py
+++ b/tests/TestSuite_crypto_perf_cryptodev_perf.py
@@ -69,8 +69,7 @@  class PerfTestsCryptodev(TestCase):
             "digest-sz": None,
             "csv-friendly": None
         }
-        self._app_path = "./x86_64-native-linuxapp-gcc/build/app/test-crypto-perf/dpdk-test-crypto-perf"
-
+        self._app_path = self.dut.apps_name['test-crypto-perf']
         page_size = self.dut.send_expect("awk '/Hugepagesize/ {print $2}' /proc/meminfo", "# ")
         if int(page_size) == 1024 * 1024:
             self.dut.send_expect('echo 0 > /sys/kernel/mm/hugepages/hugepages-%skB/nr_hugepages' % (page_size), '# ', 5)