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 B2902A04B1; Wed, 26 Aug 2020 04:18:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A56E51BE51; Wed, 26 Aug 2020 04:18:02 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 51A361F1C for ; Wed, 26 Aug 2020 04:18:01 +0200 (CEST) IronPort-SDR: f6fCym3TNOIp5/Qa5wHEsqFtR5UCaCNSXaW5LcXlFhRqc3ejEYgRmv3gSYxSHM4pAhlsGWwFSF sqHg2LCU9YbA== X-IronPort-AV: E=McAfee;i="6000,8403,9724"; a="135776310" X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="135776310" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2020 19:18:00 -0700 IronPort-SDR: nhgDYgRBcRsxok0PdYs5ssh6PYTXED0YD1NUxLpQTor1j87MG6ualxR8oCVMyyezzd6RRR9vRr sI0NsHfJAYLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="402925698" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2020 19:17:59 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 26 Aug 2020 10:15:21 +0000 Message-Id: <20200826101522.110423-6-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200826101522.110423-1-weix.ling@intel.com> References: <20200826101522.110423-1-weix.ling@intel.com> Subject: [dts] [dts 5/6] tests/TestSuite_qos_meter.py:support meson build 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: lingwei --- tests/TestSuite_qos_meter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_qos_meter.py b/tests/TestSuite_qos_meter.py index af15e0a..fa19312 100644 --- a/tests/TestSuite_qos_meter.py +++ b/tests/TestSuite_qos_meter.py @@ -78,7 +78,8 @@ class TestQosMeter(TestCase): self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error") eal_params = self.dut.create_eal_parameters(cores='1S/1C/1T', fixed_prefix=True, prefix='qos_meter') - cmd = './examples/qos_meter/build/qos_meter ' + eal_params + '-- -p 0x3' + app_name = self.dut.apps_name['qos_meter'] + cmd = app_name + eal_params + '-- -p 0x3' self.dut.send_expect(cmd, "TX = 1") payload_size = 64 - HEADER_SIZE['eth'] - HEADER_SIZE['ip'] dts_mac = self.dut.get_mac_address(self.dut_ports[self.rx_port]) -- 2.17.1