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 D7389A04B1; Wed, 26 Aug 2020 04:18:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CDAA91BE88; Wed, 26 Aug 2020 04:18:04 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 6B5951F1C for ; Wed, 26 Aug 2020 04:18:03 +0200 (CEST) IronPort-SDR: 3ZlqtlOYNaS9um0osnIb2C5oS4LJjwVeGS4/G+I8fkYvIlvJMe+h6tY1PHokTtsPp/ob+9mm+k 2GrlxVlT866A== X-IronPort-AV: E=McAfee;i="6000,8403,9724"; a="135776311" X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="135776311" 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:03 -0700 IronPort-SDR: Y/EdU8q2YsAaV/vaBh+/W73KsHUc8RiUGAupb4EIljhZUXLDZjX+AJivk+vqhcpXMOagfbgS7u HrFuLhLDbBdQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="402925711" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2020 19:18:02 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 26 Aug 2020 10:15:22 +0000 Message-Id: <20200826101522.110423-7-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 6/6] tests/TestSuite_vmdq_dcb: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_vmdq_dcb.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_vmdq_dcb.py b/tests/TestSuite_vmdq_dcb.py index 6c71365..70d3dc4 100644 --- a/tests/TestSuite_vmdq_dcb.py +++ b/tests/TestSuite_vmdq_dcb.py @@ -86,7 +86,7 @@ class TestVmdqDcb(TestCase): """ Build example "Vmdq_dcb". """ - out = self.dut.send_expect("make -C examples/vmdq_dcb", "#", 10) + out = self.dut.build_dpdk_apps("examples/vmdq_dcb") self.verify("Error" not in out, "Compilation error") def rebuild_dpdk(self, nb_queue_per_vm=4): @@ -114,8 +114,10 @@ class TestVmdqDcb(TestCase): for i in self.dut_ports: eal_param += " -w %s" % self.dut.ports_info[i]['pci'] # Run the application - self.dut.send_expect("./examples/vmdq_dcb/build/vmdq_dcb_app -c %s -n 4 %s -- -p %s --nb-pools %s --nb-tcs %s " - "--enable-rss" % (core_mask, eal_param, port_mask, str(npools), str(ntcs)), "reading queues", 120) + app_name = self.dut.apps_name['vmdq_dcb'] + command = app_name + "-c %s -n 4 %s -- -p %s --nb-pools %s --nb-tcs %s " \ + "--enable-rss" % (core_mask, eal_param, port_mask, str(npools), str(ntcs)) + self.dut.send_expect(command, "reading queues", 120) def create_pcaps(self, prios): """ -- 2.17.1