[V3,7/7] malicious_driver_event_indication: support meson

Message ID 20200925021711.33756-8-yufengx.mo@intel.com (mailing list archive)
State Accepted
Headers
Series power: power suite series support meson |

Commit Message

Yufen.Mo Sept. 25, 2020, 2:17 a.m. UTC
  support meson build.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/TestSuite_malicious_driver_event_indication.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/tests/TestSuite_malicious_driver_event_indication.py b/tests/TestSuite_malicious_driver_event_indication.py
index f297ab9..44859ab 100644
--- a/tests/TestSuite_malicious_driver_event_indication.py
+++ b/tests/TestSuite_malicious_driver_event_indication.py
@@ -124,8 +124,8 @@  class TestSuiteMaliciousDrvEventIndication(TestCase):
         self.vf_ports_info = None
 
     def init_pf_testpmd(self):
-        self.pf_testpmd = "{}/{}/app/testpmd".format(
-            self.target_dir, self.dut.target)
+        self.pf_testpmd = os.path.join(self.target_dir,
+                                       self.dut.apps_name['test-pmd'])
 
     def start_pf_testpmd(self):
         core_mask = utils.create_mask(self.pf_pmd_cores)