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 A426CA04B8; Wed, 2 Sep 2020 11:14:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EF8E91C0AD; Wed, 2 Sep 2020 11:14:17 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9437C1C066 for ; Wed, 2 Sep 2020 11:14:16 +0200 (CEST) IronPort-SDR: 95jBjcLMuHQcaM0vn2iCh9O0gsj7CZmUyyA9fpvA0ZO6akqgXKLzTevruVAXpxRdwxK2mvnspA ePp7vUKAA23w== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="158348258" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="158348258" 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; 02 Sep 2020 02:14:12 -0700 IronPort-SDR: xJqaOQsg/2bQak5MCmjLQyul6hhR2zxv5yZ0BScN7i9h14cih7IPucEPnb7H+q16ipVTBM/z+5 fuGrYZ+M6aXg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="405099272" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 02 Sep 2020 02:14:11 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Wed, 2 Sep 2020 17:15:03 +0800 Message-Id: <20200902091510.6043-2-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902091510.6043-1-weix.xie@intel.com> References: <20200902091510.6043-1-weix.xie@intel.com> Subject: [dts] [dts 1/8] tests/TestSuite_flow_filtering:support meson build method 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: Xie wei --- tests/TestSuite_flow_filtering.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py index 079435d..4e3c544 100644 --- a/tests/TestSuite_flow_filtering.py +++ b/tests/TestSuite_flow_filtering.py @@ -51,14 +51,15 @@ class TestFlowFiltering(TestCase): self.txitf = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[0])) # Verify that enough ports are available self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing") - out = self.dut.build_dpdk_apps("./examples/flow_filtering/") + out = self.dut.build_dpdk_apps("./examples/flow_filtering") self.verify('Error' not in out, "Compilation failed") def set_up(self): """ Run before each test case. """ - out = self.dut.send_command("./examples/flow_filtering/build/flow -l 1 -n 1", timeout=15) + cmd = self.dut.apps_name['flow_filtering'] + "-l 1 -n 1" + out = self.dut.send_command(cmd, timeout=15) self.verify("Error" not in out, "flow launch failed") def send_packet(self, pkg): -- 2.17.1