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 BE42FA04E1; Tue, 22 Sep 2020 09:58:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9ECE51D68D; Tue, 22 Sep 2020 09:58:45 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 266761D560 for ; Tue, 22 Sep 2020 09:58:43 +0200 (CEST) IronPort-SDR: 1XkmqZ1WLCVL0NwVXZ6aoJ6cVMnYsMKxhTZDYTHOwcCBGTV794OogGWeH97ikHycnoxbGoEU85 0afQ5KlC0Evw== X-IronPort-AV: E=McAfee;i="6000,8403,9751"; a="224703400" X-IronPort-AV: E=Sophos;i="5.77,289,1596524400"; d="scan'208";a="224703400" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2020 00:58:42 -0700 IronPort-SDR: y12aZ79ccSbEcQYqe/hDZBTjO0GQwJE/EA7WyhYVarFNPbpx1HEzQUJo6zcCEFb0qlnu5Od57t Xi8U9enTSmcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,289,1596524400"; d="scan'208";a="511066373" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga005.fm.intel.com with ESMTP; 22 Sep 2020 00:58:42 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 22 Sep 2020 00:58:42 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 22 Sep 2020 00:58:42 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 22 Sep 2020 00:58:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ANhVMzIMNbHxjUNLMUfWvgdQOEMQzd4vrHpvqCJawBvXBxTo5R1FzOVw8d4PfqbMcYQfAa7r5QplKWqPovV2KkNGLIA4QTsnaVHYHv8UzJQ/2gFIBg+aLeOT+Gdrg2BX+sgPk9AKIPqYP99VFUuxBUFYKAXNg92dqqtNUGZpSlCI0x4AUfT+9ZVhDhgGO44ZfLCXUbH2f6NhlvpfKsmYLyFZS5nD7IC9AoA7v5o31gtwOcB3EKC/1sAjoun990XOADbzirXJ+XVUVMEVEOeDsQwYRdaTs/ri0w+AtYqWZ8tD0hmuBqhzm/ZEmGnZ3VgHxkZUZgEA4B5Sx8hAvCDIEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lQs6XE+8aiJTYwot/noeT7Eh/thwT2UmGexL63d0pgU=; b=Ef/tPBNyBwKnbVN5XUWa0l6dUemNCKccKP959GPT+sOOD/NFnFMRCGsPsfOUL4njVEQIhE6/AGYcJj172M1wPRg/OfZtRnqd8C5G3UNvcB9CrbLmrEeFw3WYNEmo4tTUtJCBC9ws2ZHFC2E3a6/38PFwuZHR45k3zVFJEriPouZydQGOdOhd57ZpmpAOIllbWynB3tm29fWhqZUpBK7iN5zCEOlxqQcEqI8DeT4q73gOJZwnyxdDcEhHnkECWwCU0uE8T/1I2c6Ub5tcsTKbUZ8k8C93CeldmZXWRPzbhT2BMazyWJcHov6rQnb+EfYEMwf8zVo3s11Z7Gilc1V+ng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lQs6XE+8aiJTYwot/noeT7Eh/thwT2UmGexL63d0pgU=; b=pJQUlPtyaXOetLUhb1e8DAlT/ZdUN5cClAt/4MndqL9/57Bk4rAl9dEqXKc3XLpznxIjFLXKcM7L9g+fDKvEUttTQtoX65nIQhnZ6m1EqsUc62hKu6HV/2epKiLTm53Jhr8Z9o9D9Jo6ZjSN/DInu3kumTVjJGZbuAtZwkUAaDI= Received: from BN8PR11MB3715.namprd11.prod.outlook.com (2603:10b6:408:85::13) by BN6PR11MB1491.namprd11.prod.outlook.com (2603:10b6:405:8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15; Tue, 22 Sep 2020 07:58:36 +0000 Received: from BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::422:be42:232e:20fa]) by BN8PR11MB3715.namprd11.prod.outlook.com ([fe80::422:be42:232e:20fa%6]) with mapi id 15.20.3391.026; Tue, 22 Sep 2020 07:58:36 +0000 From: "Ma, LihongX" To: "Zhang, XiX" , "dts@dpdk.org" CC: "Zhang, XiX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_nvgre:update scipts set command support meson Thread-Index: AQHWjZtId3ioVb0mpE2LmbhU6cHxX6l0T1OA Date: Tue, 22 Sep 2020 07:58:35 +0000 Message-ID: References: <1600420161-16541-1-git-send-email-xix.zhang@intel.com> In-Reply-To: <1600420161-16541-1-git-send-email-xix.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.193] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 46d44514-8a13-4a1d-c9a0-08d85ecd4f15 x-ms-traffictypediagnostic: BN6PR11MB1491: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1284; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: clgVHYzjS3AJXj3WV3o8peDN1cZYKIrkL3xs2vTAQQOPOVv2Z6PHN1vX6ViY5q5nUCxbI3m+XQ97f+D+WJIyntH5vk2R7l1oDe8tej9Vlfc+H8MY5Xw/obQTMeeUqqwfDmRPbhduNAkLUMYscSHaQulYeGOQrW/NO5wqCJq/grqg+Rq5urMPMRLX+xA7V7YyPVwxI2HwCZ4cHCJihOGfeuhw/gBXe03n5vKz5EQlNgsfvwiiXVFu+FZTwN/ySY6PZEajdb6QpX7CR4b+jvbprTzisiKEeSkCKlWAD3NuHS4mQKfYq5d2OtbTK7an1mHy+oPsYRszqh6n58svnqRHEw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3715.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(376002)(366004)(396003)(346002)(66476007)(66556008)(64756008)(66446008)(5660300002)(110136005)(9686003)(76116006)(26005)(66946007)(15650500001)(4326008)(55016002)(53546011)(6506007)(8936002)(316002)(107886003)(2906002)(7696005)(478600001)(83380400001)(33656002)(186003)(86362001)(52536014)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: P2Qz/qm3nrOyhJGZIeeJfQ/bI2dMsAVjwriGKXfSewygQOOnvBL8RmNk5+KbMuYNzsjTrFokjTptFONUyU1Bg9hgA9rj6gn4ETQjHqpJKsKQPn7B8RHzcbD2NN37MaFuKaMFPgbad4mbfB6XngamPobnHcM3AY/GWKgJUedkAkRSJT3v12ZqW3kaoJvNDoAF9KapamPL34MbVeZHj2GI+wzymVrLDuE/hQ9ibojmqECuMKHKthA0ypRCxu0KF80v3cPXrnwfCATH5Z+knpdDZY0bOJnG7iKPkdO1za54JmC4+yYChrgZXgRNNTZA/v9nRQl0UQZbFiIpXBM8aO6VxyhHU1Vcn9/r9GrXgKkcWyBqxasqpM2zWHC0Nu/Z9h24Qk93IZ9CseLOv13HORKk+OYP7xLGTg76wWa62SxKS1Vuau6imcUygp2cVOMaeNJ+GPTbzA9CsIH/uh8x7eCcLfa9B2PJCUKmSlUdtLAYg2jdymPiYHmfsGas5cqkjYAJwNP69uKoTMk+0WhLQ1Mmtxr7898JP8/s4kCCtuO2CGL9CURS5nMfzPFgmyFLYx4JcEwTZdhDu914OHnFwiCAb3/tXBUhGndGfl7uTa9myXeXQRa+i9ObdS4L/urByY+fo6iedz7RetNXBeGDmn+T9A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3715.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46d44514-8a13-4a1d-c9a0-08d85ecd4f15 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2020 07:58:35.9720 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: e5EMCNomZvZc78/zWyOEZnvm3HcITSaBSGK487MZyB2aheG2hUlXj1O4xZRarTHJclF99kk09MM2KogIR3FCtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1491 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1] tests/TestSuite_nvgre:update scipts set command support meson 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" > -----Original Message----- > From: dts On Behalf Of xizhan4x > Sent: Friday, September 18, 2020 5:09 PM > To: dts@dpdk.org > Cc: Zhang, XiX > Subject: [dts] [PATCH V1] tests/TestSuite_nvgre:update scipts set command > support meson >=20 > update scipts set command support meson >=20 > Signed-off-by: xizhan4x > --- > tests/TestSuite_nvgre.py | 46 ++++++++++++++----------------------------= -- > -- > 1 file changed, 14 insertions(+), 32 deletions(-) >=20 > diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py index > e81b370..83a055b 100644 > --- a/tests/TestSuite_nvgre.py > +++ b/tests/TestSuite_nvgre.py > @@ -362,9 +362,9 @@ class TestNvgre(TestCase): > """ > # this feature only enable in FVL now > if self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortville_25g", "fortpark_TLV","fortpark_BASE= - > T", "cavium_a063", "cavium_a064", "carlsville"]: > - self.compile_switch =3D 'CONFIG_RTE_LIBRTE_I40E_INC_VECTOR' > + self.compile_switch =3D 'RTE_LIBRTE_I40E_INC_VECTOR' > elif self.nic in ["sageville", "sagepond"]: > - self.compile_switch =3D 'CONFIG_RTE_IXGBE_INC_VECTOR' > + self.compile_switch =3D 'RTE_IXGBE_INC_VECTOR' > elif self.nic in ["columbiaville_25g","columbiaville_100g"]: > print("CVL support default none VECTOR") > else: > @@ -627,13 +627,9 @@ class TestNvgre(TestCase): > print("CVL support default none VECTOR") > src_vec_model =3D 'n' > else: > - out =3D self.dut.send_expect("cat config/common_base", "]# ",= 10) > - src_vec_model =3D re.findall("%s=3D." % self.compile_switch, > out)[0][-1] > - if src_vec_model =3D=3D 'y': > - self.dut.send_expect("sed -i -e 's/%s=3D.*$/" % > self.compile_switch > - + "%s=3Dn/' config/common_base" % > self.compile_switch, "# ", 30) > - self.dut.skip_setup =3D False > - self.dut.build_install_dpdk(self.target) > + self.dut.set_build_options({f'{self.compile_switch}': 'y'}) > + self.dut.skip_setup =3D False > + self.dut.build_install_dpdk(self.target) >=20 Hi, xi I think the original code is set the config 'RTE_IXGBE_INC_VECTOR' to n, bu= t your modify now set it to y Can you double check it ? BTW: please do not delete the command of modify file common_base, we will d= elete them uniformly. Regards, Ma,lihong