Tested-by: Xiao, QimaiX > -----Original Message----- > From: Xiao, QimaiX > Sent: Thursday, January 16, 2020 7:05 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts][PATCH V2]tests/ethtool_stats: add file-prefx to launch > procinfo > > add file-prefix to launch dpdk-procinfo > > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_ethtool_stats.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/TestSuite_ethtool_stats.py > b/tests/TestSuite_ethtool_stats.py > index 4f56885..f3152d9 100644 > --- a/tests/TestSuite_ethtool_stats.py > +++ b/tests/TestSuite_ethtool_stats.py > @@ -159,7 +159,7 @@ class TestEthtoolStats(TestCase): > ports_mask = reduce(lambda x, y: x | y, > [0x1 << x for x in range(ports_count)]) > self.query_tool = os.path.join( > - self.target_dir, self.target, 'app', 'dpdk-procinfo') > + self.target_dir, self.target, 'app', 'dpdk-procinfo --file-prefix=%s' % > self.prefix) > self.dpdk_proc_info = "%s -v -- -p %s" % (self.query_tool, ports_mask) > > def parse_proc_info_xstat_output(self, msg): > @@ -471,6 +471,7 @@ class TestEthtoolStats(TestCase): > def set_up_all(self): > self.dut_ports = self.dut.get_ports(self.nic) > self.verify(len(self.dut_ports) >= 1, 'Insufficient ports') > + self.prefix = "dpdk_" + self.dut.prefix_subfix > self.preset_test_environment() > > def set_up(self): > -- > 2.17.1