[dts] [PATCH V1 6/7] framework/pmd_output: replace the hard code app path with the configured app path
lihong
lihongx.ma at intel.com
Tue Jul 7 04:45:02 CEST 2020
Signed-off-by: lihong <lihongx.ma at intel.com>
---
framework/pmd_output.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/framework/pmd_output.py b/framework/pmd_output.py
index 2d66743..bba7676 100644
--- a/framework/pmd_output.py
+++ b/framework/pmd_output.py
@@ -178,7 +178,8 @@ class PmdOutput():
part_eal_param = self.dut.create_eal_parameters(fixed_prefix=fixed_prefix, socket=socket, **config)
all_eal_param = part_eal_param + ' ' + other_eal_str
- command = "./%s/app/testpmd %s -- -i %s" % (self.dut.target, all_eal_param, param)
+ app_name = self.dut.apps_name['test-pmd']
+ command = app_name + " %s -- -i %s" % (all_eal_param, param)
out = self.session.send_expect(command, "testpmd> ", 120)
self.command = command
# wait 10s to ensure links getting up before test start.
--
2.7.4
More information about the dts
mailing list