From patchwork Wed Aug 26 10:15:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 75959 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 898DBA04B1; Wed, 26 Aug 2020 04:18:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80CED4F9C; Wed, 26 Aug 2020 04:18:00 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 3BB521F1C for ; Wed, 26 Aug 2020 04:17:59 +0200 (CEST) IronPort-SDR: SBus1CPIo/nrWxXT3sufEftrrkAQkUEIZkhsWNDLJZ0r+pozkqBgY1bhFCSOJDSNarB/vjxj+L 6JQyf1e+CSlg== X-IronPort-AV: E=McAfee;i="6000,8403,9724"; a="135776309" X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="135776309" 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:17:58 -0700 IronPort-SDR: 0Pi/D3C99kFQY8qjzPMXJErVbYghBkwk8ow39b3K50bBzrwzvEGse6N29mV0Y6+bAsRyJzutqB CRQy3o9pvfDw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="402925693" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2020 19:17:57 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 26 Aug 2020 10:15:20 +0000 Message-Id: <20200826101522.110423-5-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 4/6] tests/TestSuite_packet_ordering: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_packet_ordering.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_packet_ordering.py b/tests/TestSuite_packet_ordering.py index ac6b930..067e886 100644 --- a/tests/TestSuite_packet_ordering.py +++ b/tests/TestSuite_packet_ordering.py @@ -66,7 +66,8 @@ class TestPacketOrdering(TestCase): self.port_mask = utils.create_mask(valports) # Builds the packet ordering example app and checks for errors. - out = self.dut.send_expect("make -C examples/packet_ordering", "#") + # out = self.dut.send_expect("make -C examples/packet_ordering", "#") + out = self.dut.build_dpdk_apps("./examples/packet_ordering") self.verify("Error" not in out and "No such file" not in out, "Compilation error") @@ -78,7 +79,8 @@ class TestPacketOrdering(TestCase): def start_application(self): - cmdline = './examples/packet_ordering/build/packet_ordering -c {0} -n {1} -- -p {2}' . \ + app_name = self.dut.apps_name['packet_ordering'] + cmdline = app_name + '-c {0} -n {1} -- -p {2}'.\ format(self.core_mask, self.dut.get_memory_channels(), self.port_mask) # Executes the packet ordering example app. self.dut.send_expect(cmdline, 'REORDERAPP', 120)