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 78F99A04DB; Fri, 4 Sep 2020 10:17:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D4CA1C0D5; Fri, 4 Sep 2020 10:17:09 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id AFD1C255 for ; Fri, 4 Sep 2020 10:17:08 +0200 (CEST) IronPort-SDR: YsBauND4D4XceBrbhBDV4oGgsKTEXWDs+4+EBW/qiTd5CyMt8N7ztDKa6U404/AiaYAOwIh+fT oxdz40llflrw== X-IronPort-AV: E=McAfee;i="6000,8403,9733"; a="175763257" X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="175763257" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2020 01:17:08 -0700 IronPort-SDR: Tt4BxrnM+hbYHdw7HMQ48z9Q+9nwoS/0CYZ9TDBBZFXd8l5ppjkBCBeWlCE31ZjmWO0R7aGN8s m0U7gOQSNx/g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="315782580" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.182.150]) by orsmga002.jf.intel.com with ESMTP; 04 Sep 2020 01:17:07 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Fri, 4 Sep 2020 16:18:13 +0800 Message-Id: <1599207525-22123-6-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1599207525-22123-1-git-send-email-xix.zhang@intel.com> References: <1599207525-22123-1-git-send-email-xix.zhang@intel.com> Subject: [dts] [dts 06/38] tests-TestSuite_flow_classify.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: xizhan4x --- tests/TestSuite_flow_classify.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_flow_classify.py b/tests/TestSuite_flow_classify.py index 213ae49..75410b3 100644 --- a/tests/TestSuite_flow_classify.py +++ b/tests/TestSuite_flow_classify.py @@ -319,7 +319,8 @@ class TestFlowClassify(TestCase): self.output_path, 'flow_classify', timestamp) with open(self.test_data, 'w') as fp: fp.write(output) - cmds = ['killall flow_classify', '# ', 10] + app_name=self.flow_classify.split("/")[-1] + cmds = ['killall %s'%app_name, '# ', 10] self.d_a_console(cmds) def get_stream_rule_priority(self, stream_type): @@ -470,7 +471,8 @@ class TestFlowClassify(TestCase): self.dut_ports = self.dut.get_ports() self.verify(len(self.dut_ports) >= 2, "Insufficient ports") # set binary process setting - self.flow_classify = self.prepare_binary('flow_classify') + self.prepare_binary('flow_classify') + self.flow_classify =self.dut.apps_name["flow_classify"] self.verify_supported_nic() def set_up(self): -- 1.8.3.1