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 9F5F6A0599; Fri, 10 Apr 2020 03:15:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D07C91D423; Fri, 10 Apr 2020 03:15:06 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80079.outbound.protection.outlook.com [40.107.8.79]) by dpdk.org (Postfix) with ESMTP id 628A21D40F for ; Fri, 10 Apr 2020 03:15:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wb2q9q7Z1xBoiH/u+JILxgK+Ta3mtCv4w4hCmIuuHHU=; b=LpNFHrO9cbVQUobMClt7A8rPg09lLYRYoQo6wCrlKp/H25hO0hN/JZpNZyRZIVaKGrOuwRFM+c51+b7wvqeupoWSjrF+1aSj1qdvfGISiFxvdhmMkkd+9mRU+6dsQZogwDNVnAC74N0Ozz7RH84bgyprYAlr4Q+gJWxW+YxH7Lw= Received: from DB6PR0301CA0016.eurprd03.prod.outlook.com (2603:10a6:4:3e::26) by HE1PR0801MB1770.eurprd08.prod.outlook.com (2603:10a6:3:7d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.20; Fri, 10 Apr 2020 01:15:03 +0000 Received: from DB5EUR03FT017.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::17) by DB6PR0301CA0016.outlook.office365.com (2603:10a6:4:3e::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15 via Frontend Transport; Fri, 10 Apr 2020 01:15:03 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT017.mail.protection.outlook.com (10.152.20.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.18 via Frontend Transport; Fri, 10 Apr 2020 01:15:03 +0000 Received: ("Tessian outbound e2c88df8bbbe:v50"); Fri, 10 Apr 2020 01:15:03 +0000 X-CR-MTA-TID: 64aa7808 Received: from aef46b82d85d.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CDCE6CEB-A082-435B-B02D-8E32C04A7AD5.1; Fri, 10 Apr 2020 01:14:58 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id aef46b82d85d.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 10 Apr 2020 01:14:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oROVdFvabj6qZzuz6UnpKhFeFIF5EL513KImqGdPplueu2DgvYG/DDxL/iWWt/mtYp5E6gnZ2iOsTUvqYJpLXew+9Wt/pKJTvsr+0I+U7e8Hueq2DHGQMoeyGANCqbRAVTk+Wg8WzAX/8B2g2zvVVIHguhD7VMaeb3LxqPW1IyBSp7hTZYhqhC/faF4F6JmMTuUFuFB6E2J0m5JANRE6aQVKXeaf5Md3AggeKCnALT0QRxfL/jzvBfgaoDkTCMQG1jjH5e76odaZIQQzLtcWmqi1w3yYSeqyrZfyP57H5HNJu+G2Efg/ztFr/j8rKkTGMZvAip+nvnokreetOLQuJw== 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=wb2q9q7Z1xBoiH/u+JILxgK+Ta3mtCv4w4hCmIuuHHU=; b=kxjNIGWMCHezo6HhY5TGQzJj+GRpH6e2Iw4UHTW5euTquYU+Asy72ejQ6gJQW5BXJDrcBOo+8OaI4fuuZv6gYM+b/iNLoN7VfkhgD6Q5sQeF6UsLt6tvQGA4h+1yIMcVfwEPHeurdyuoawmY/We8vzv7aQbd+aFLByOPAMbyyLmgROVTBs5HQ97bS5qeEIkfoAiowGNRRpHywC1oPHPJM+2qRf/3vnG1OcvRNmLGJUgm1eFo6EWMBkMmLvwckUUN4ejmSstZQp0MadyNenY0vgakYirzZPOO56D1AgOe6VK+aPaB8tIp4i4PSOEQpGtdgpJDq34BjmGdOlS/MOwbkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wb2q9q7Z1xBoiH/u+JILxgK+Ta3mtCv4w4hCmIuuHHU=; b=LpNFHrO9cbVQUobMClt7A8rPg09lLYRYoQo6wCrlKp/H25hO0hN/JZpNZyRZIVaKGrOuwRFM+c51+b7wvqeupoWSjrF+1aSj1qdvfGISiFxvdhmMkkd+9mRU+6dsQZogwDNVnAC74N0Ozz7RH84bgyprYAlr4Q+gJWxW+YxH7Lw= Received: from AM0PR08MB3986.eurprd08.prod.outlook.com (2603:10a6:208:128::26) by AM0PR08MB5091.eurprd08.prod.outlook.com (2603:10a6:208:15e::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.16; Fri, 10 Apr 2020 01:14:55 +0000 Received: from AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::ccce:390d:6eca:65fd]) by AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::ccce:390d:6eca:65fd%5]) with mapi id 15.20.2900.015; Fri, 10 Apr 2020 01:14:55 +0000 From: Ruifeng Wang To: "thomas@monjalon.net" , "dev@dpdk.org" CC: "bruce.richardson@intel.com" , Lukasz Wojciechowski , Aaron Conole , David Marchand , Gavin Hu , nd Thread-Topic: [PATCH v2] test: remove meson dependency on /proc file Thread-Index: AQHWDqXfXY8gEtg0T0CzcaccqWe4FahxjTtw Date: Fri, 10 Apr 2020 01:14:55 +0000 Message-ID: References: <20200409180332.592074-1-thomas@monjalon.net> <20200409193412.667575-1-thomas@monjalon.net> In-Reply-To: <20200409193412.667575-1-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 6c4bd4e7-d7ce-48bf-9ce9-72e62d3603ab.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c2159f61-d369-4e73-42fa-08d7dcec9937 x-ms-traffictypediagnostic: AM0PR08MB5091:|AM0PR08MB5091:|HE1PR0801MB1770: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:3513;OLM:3513; x-forefront-prvs: 0369E8196C X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR08MB3986.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(396003)(366004)(346002)(376002)(39860400002)(136003)(66446008)(186003)(64756008)(4326008)(4744005)(66476007)(6506007)(76116006)(81156014)(478600001)(71200400001)(53546011)(52536014)(54906003)(33656002)(110136005)(9686003)(55236004)(66946007)(2906002)(55016002)(316002)(7696005)(81166007)(8676002)(5660300002)(26005)(86362001)(8936002)(66556008); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: cNFOSA9gY2+o68u58zvYy7k7dJ+SxwHqWAJ8sV3vgO2/pDdfwRuAUdP2lXtUt/fwPUcNQwcn+/WMJ1yfZR7q2dY0YphtbhfRoHO+ZGAqUlJh8nyazNG3D5CSr6TsuTJexooWJiMfrZpEwl286/EnLJ/Gjfv52BgsGhNeouBAQ+KVPgteG7DX+fM8AgDIZEP+zzTHRw34Nik/KjRm6XNyozuiXlpGpabG7iwncB1MScg3eTJFnINK74y5B0NTINvSYgtSX7ISi+zt6Regmy8jhRcqCRYS+PUAl0LBqrkzaa9hgUMiu9jp3hstXZ3HZU58+SheUSvWULa40fDXJDfS0EPiQ+ctuGHy8D+aGTdAGaPks6OZouI3yDQpo5iUSfT+ry8TwTe6IVL0A94kBVoOHa9Xwg0O66utLmkM0LZ0QogXrTucqfxD5MWnZnX9U/m8 x-ms-exchange-antispam-messagedata: hS+K1HeySrp7FcMCsgUIiBuQoCFEEt16WE0pvuy9oNgUycYxAsU/Bxw+A4p3VjBgFHCSFc+0d76/A02s4QCn/WfcJL9P9vsjXHjnFcVgFtgm0qvo2NWw2atP1QcAcfNqY3Z1PWkduOXYBrfMucE6Yw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5091 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT017.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(376002)(396003)(346002)(136003)(39860400002)(46966005)(4326008)(356005)(2906002)(186003)(9686003)(336012)(55016002)(8936002)(26005)(81166007)(26826003)(47076004)(81156014)(478600001)(53546011)(33656002)(8676002)(52536014)(7696005)(82740400003)(316002)(54906003)(70586007)(6506007)(86362001)(70206006)(110136005)(5660300002); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 867050d4-5c58-4518-9a7f-08d7dcec944c X-Forefront-PRVS: 0369E8196C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UKxI0fqYVW+bnOMw+TuMpvgGOwguZ9ZvN5KUHfSzJlwOrgfFlUjw2lpOMx3T2+xo7uuLDo5nQXmYldJgowHa6N/s62yxcL4EByqjuCtpYxYZIgQhbkiv58TQqteg6QfGuQiiDtwGzqAkaFTTfsoUhgEciSoB13kv/q2WGjJry1FjIJw19AeI7HOnhe2/1wA6nhy5OQOWx3AI28/wjQpY4gFlCdsJP00O2E6Xacfb0/wuBgJ7geK9jD9nOyP5TM4QJt1pjbYqRiC2Ag6DP+kEc2BEItqpSn2ZgWGu3iEVQhw/DSjixcl/8/KOpBGzYvG8tf7WUXheD37kXgrKnmM9AdT1SLubaClw6uIO/feihremeROcuXpy5mef9Uc/Xl3KqbYTVkA2ZMkAl93eGAU3pWLg6nPf0ErEoxrteINi9YbNH4h/iQgjdWuJA0rNVTRd+wzkl0VYvwxVEg8+ZHdb6L/pKzOzKqM2Eca9+DDKgZkr/5UppIhsiMfLXdgeQLgQBEHhEIBRRIIc6mt7LPuY/w== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2020 01:15:03.7082 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c2159f61-d369-4e73-42fa-08d7dcec9937 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1770 Subject: Re: [dpdk-dev] [PATCH v2] test: remove meson dependency on /proc file X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Thomas Monjalon > Sent: Friday, April 10, 2020 3:34 AM > To: dev@dpdk.org > Cc: bruce.richardson@intel.com; Lukasz Wojciechowski > ; Aaron Conole > ; Ruifeng Wang ; David > Marchand ; Gavin Hu > Subject: [PATCH v2] test: remove meson dependency on /proc file >=20 > Meson is detecting the path /proc/sys/vm/nr_hugepages in the call to cat = in > app/test/meson.build and then adding it as a build dependency. > This causes build loop if the timestamp of this file keeps changing. >=20 > It is fixed by hiding hugepage check in a shell script. >=20 > Fixes: 77784ef0fba8 ("test: allow no-huge mode for fast-tests") >=20 > Signed-off-by: Thomas Monjalon > Tested-by: Lukasz Wojciechowski > --- >=20 > v2: use variable as pointed by Lukasz >=20 > --- > MAINTAINERS | 1 + > app/test/has-hugepage.sh | 11 +++++++++++ > app/test/meson.build | 8 ++------ > 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100755 > app/test/has-hugepage.sh >=20 Reviewed-by: Ruifeng Wang