From patchwork Fri Jul 24 17:31:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhou, JunX W" X-Patchwork-Id: 74740 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4729BA0518; Fri, 24 Jul 2020 11:32:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F2A821BFE5; Fri, 24 Jul 2020 11:32:14 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E59891BFE3 for ; Fri, 24 Jul 2020 11:32:13 +0200 (CEST) IronPort-SDR: tB7amxvNNOLpVP1EKN/Lmy7Z4VNKKCZ9CkIni+DSVxTG9vspbfX1Xdlez7PbzqsApuqj0/VoTK xEydMjDir50g== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="151972435" X-IronPort-AV: E=Sophos;i="5.75,390,1589266800"; d="scan'208";a="151972435" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jul 2020 02:32:11 -0700 IronPort-SDR: NAJ2lllPRUGimS012CJPmUBp8TsxBdn5PMph1KRI5mYq8+FqcO8eKgyGQktsgkZBUoOiM+QNug NrkMpUWIyc1g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,390,1589266800"; d="scan'208";a="393263494" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 24 Jul 2020 02:32:10 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: Zhou jun Date: Fri, 24 Jul 2020 17:31:05 +0000 Message-Id: <20200724173105.67824-1-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] at the request of dpdk, execute dpdk-telemetry-client.py with python3 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" From: Zhou jun at the request of dpdk, execute dpdk-telemetry-client.py with python3 Signed-off-by: Zhou jun Tested-by: junx.w.zhou@intel.com Signed-off-by: Zhou jun --- tests/TestSuite_telemetry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_telemetry.py b/tests/TestSuite_telemetry.py index 000963b..81e14a6 100644 --- a/tests/TestSuite_telemetry.py +++ b/tests/TestSuite_telemetry.py @@ -346,7 +346,7 @@ class TestTelemetry(TestCase): self.dut_s_session = self.dut.new_session() dpdk_tool = os.path.join( self.target_dir, 'usertools/dpdk-telemetry-client.py') - output = self.dut_s_session.send_expect(dpdk_tool, ':', 5) + output = self.dut_s_session.send_expect('python3 ' + dpdk_tool, ':', 5) return output def close_telemetry_client(self):