From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 674A1A00BE; Tue, 7 Jul 2020 12:16:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5847D1DD92; Tue, 7 Jul 2020 12:16:59 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 2EFBD1DDD5 for ; Tue, 7 Jul 2020 12:16:57 +0200 (CEST) IronPort-SDR: ll4nZra7Z9g1zaHRtdj8JUokoXzBHI3HSFeJd3NqzaA6b361St3UAm+Mfw31R6m/+L86mgImYI kgqiiXUGAhvA== X-IronPort-AV: E=McAfee;i="6000,8403,9674"; a="127160992" X-IronPort-AV: E=Sophos;i="5.75,323,1589266800"; d="scan'208";a="127160992" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2020 03:16:56 -0700 IronPort-SDR: P2IckBu+jvstSuYLIDmvwLno80TYmVQT9c4UyPIpzWf1/s695OTBPnLRNlE7eTQhexA80R97i7 TGP4NfEqZWng== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,323,1589266800"; d="scan'208";a="457051300" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.174]) by orsmga005.jf.intel.com with ESMTP; 07 Jul 2020 03:16:55 -0700 From: lihong To: dts@dpdk.org Cc: zhaoyan.chen@intel.com, lihong Date: Tue, 7 Jul 2020 10:45:02 +0800 Message-Id: <1594089903-26285-7-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594089903-26285-1-git-send-email-lihongx.ma@intel.com> References: <1594089903-26285-1-git-send-email-lihongx.ma@intel.com> Subject: [dts] [PATCH V1 6/7] framework/pmd_output: replace the hard code app path with the configured app path X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: lihong --- 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