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 917D6A057A for ; Mon, 23 Mar 2020 16:33:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 512841C0AB; Mon, 23 Mar 2020 16:33:39 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140049.outbound.protection.outlook.com [40.107.14.49]) by dpdk.org (Postfix) with ESMTP id B213F1C068; Mon, 23 Mar 2020 16:33:36 +0100 (CET) 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=orLGAXvYLRvsJwAWm7KSL58hhDegIpEDinaWWP+KkEQ=; b=VYyHyhrjxq8qeU4Z8uWilZjbdMKd5f7vmLEHLrD0NzM+4+z9+7s371klKLCMvMqIp4B44r0jA99zNu8uHPxONhejeI3uZNApm1UZRhGKUqpa3y1M1SUd8jHyVxHeHsy0y/KRn9A2h+M6x+wJcLVmmDFOvaO50L9sXI6Gn+dK3i0= Received: from DB6PR0801CA0047.eurprd08.prod.outlook.com (2603:10a6:4:2b::15) by AM6PR08MB3110.eurprd08.prod.outlook.com (2603:10a6:209:45::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19; Mon, 23 Mar 2020 15:33:35 +0000 Received: from DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:2b:cafe::57) by DB6PR0801CA0047.outlook.office365.com (2603:10a6:4:2b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19 via Frontend Transport; Mon, 23 Mar 2020 15:33:35 +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 DB5EUR03FT027.mail.protection.outlook.com (10.152.20.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13 via Frontend Transport; Mon, 23 Mar 2020 15:33:35 +0000 Received: ("Tessian outbound 0e34ea672d09:v48"); Mon, 23 Mar 2020 15:33:35 +0000 X-CR-MTA-TID: 64aa7808 Received: from 314f6f63dbff.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 655227A7-8816-47D3-A719-E64F9BCBA497.1; Mon, 23 Mar 2020 15:33:30 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 314f6f63dbff.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 23 Mar 2020 15:33:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ELXv+nHjDjWRYy7ca/IlGQivkbdYjGAN2rUWStFA3GqDH50SbIIWigMSte++Mfaqb4WxcpDYry2ugIrWqpchFRE9xD+Kc2pXkG9EKPfxkmd0hYeEmmEh/p6ZXheEDyUpuG3HRLvFiRMkewCuxvl9vXxvJ0kFekVnLESDVXJmJXF/4VIEWXsiedpp2X9KbdV8lT5ZNc/n8qoeey5lgg/cpavHIS0UxECQ4MfAW63EnGXWqzk8GGTF8DmK42lNy9hisoeAMuLJMdJdys7/YGPeB6AGANrUQRmLuq80bzqFstkhVuO9Wn1stf3Zxn4N6y11m6BWvNMfdLl//1/8iOezzw== 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=orLGAXvYLRvsJwAWm7KSL58hhDegIpEDinaWWP+KkEQ=; b=NvwBJ5gXnp6x7R9kKkM/pW4PTCDnFZWCLuFH7QbEIkphU0RV/z6aCfzRoJjotZSSGyXtV/N6p71RAfraP7Y3Gj6L6sa5H7LaBDqezXZKNC8SU4psjSRe4OSXAWv+V04k6Fcfg/Ho1tbP4VtmStfzUf+3HVAdtSs3g3CWysGu86F/8AtpdWVvM2PHlcqRC0N8DsDy61m/fhAARC3IZo363aHAvegMgt7+TjcempaeEQkJzYsrCYnm+XdtGLIlaZM0eCnUxFqSyuScSAHyyOMJF4+XpBCGjUiNVcmnlg2reLX2n8qebml98N1rD5t2woDHQ4bq8469IUPkNDKxbGbb/A== 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=orLGAXvYLRvsJwAWm7KSL58hhDegIpEDinaWWP+KkEQ=; b=VYyHyhrjxq8qeU4Z8uWilZjbdMKd5f7vmLEHLrD0NzM+4+z9+7s371klKLCMvMqIp4B44r0jA99zNu8uHPxONhejeI3uZNApm1UZRhGKUqpa3y1M1SUd8jHyVxHeHsy0y/KRn9A2h+M6x+wJcLVmmDFOvaO50L9sXI6Gn+dK3i0= Received: from AM0PR08MB3986.eurprd08.prod.outlook.com (20.178.118.90) by AM0PR08MB5092.eurprd08.prod.outlook.com (10.255.30.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.22; Mon, 23 Mar 2020 15:33:28 +0000 Received: from AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::7cbc:dcc5:f3da:ac56]) by AM0PR08MB3986.eurprd08.prod.outlook.com ([fe80::7cbc:dcc5:f3da:ac56%7]) with mapi id 15.20.2835.021; Mon, 23 Mar 2020 15:33:28 +0000 From: Ruifeng Wang To: David Marchand , "dev@dpdk.org" CC: "aconole@redhat.com" , "stable@dpdk.org" , Reshma Pattan , nd Thread-Topic: [PATCH] test: load drivers when required Thread-Index: AQHWAO7/7+oVuhjoJk+E0GV3ah5UwahWTrtg Date: Mon, 23 Mar 2020 15:33:28 +0000 Message-ID: References: <20200323083952.12853-1-david.marchand@redhat.com> In-Reply-To: <20200323083952.12853-1-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: cfcae0e9-e6a6-4448-b870-294951f29c9d.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [222.68.170.255] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0f2619d4-79c1-48ea-8bf2-08d7cf3f8d17 x-ms-traffictypediagnostic: AM0PR08MB5092:|AM6PR08MB3110: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:1417;OLM:1417; x-forefront-prvs: 0351D213B3 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(199004)(86362001)(66446008)(76116006)(66946007)(66476007)(66556008)(64756008)(4326008)(55016002)(53546011)(7696005)(9686003)(6506007)(5660300002)(478600001)(52536014)(316002)(2906002)(33656002)(110136005)(8936002)(8676002)(54906003)(186003)(81166006)(81156014)(71200400001)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB5092; H:AM0PR08MB3986.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; 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: gAOK4AuFrXNNo4xLotljwOxKYpvJbJSbIupqa7U5aFuikv2qShzee9RuAdZvjHnmgcYH3L+WT3v8ZpdrJnRnI+/DAzdxOto5Rs5oeAE1jF6D0+NYVgn4lA27/ZWP8GH0UgkcdyirFh8QILjAyu8HcbCZLaHADnMN7ISybvj79sgUI2NGp4GEn8quoA/xbotuKUEYYRHgnpQKe65YIz5UAWFnwWTUBc88Z6FN8IApUZQz9pwWGeaq3KYv55l+uCaoZAyM80SHw/canM/kiIhElZhI4qi3awL05z/p7PSpqGkK85ANEqnigBbGNibJ0bloC5oNuvIYyUWKCiT5UMCbVW4xQNclhmvb7vG7646Vk8BhMxD96fu9sUwiA5o6LQ5lSDpQJOJ7RGEBdc9P6bvjndYa3abmeUAPnQChFw7szko/FiXZWIovznDfumlUUHY+ x-ms-exchange-antispam-messagedata: aoQLU6edH4MStB3hNwmgjfCCTnUWsQMjTIQWO4mdnDUWO60Ia6clsnjPJ/6m+rE1AQFZBMoNt6i6uRi6v2ZUXIC8JbiY9BJtTwd9ih5tknak7DNBccuc1OBKzxidWd3mXGWnfnwUjdkehaI/IarX5g== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5092 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(136003)(346002)(376002)(199004)(46966005)(450100002)(316002)(52536014)(5660300002)(26005)(9686003)(55016002)(110136005)(53546011)(47076004)(4326008)(356004)(7696005)(6506007)(70206006)(26826003)(86362001)(186003)(33656002)(2906002)(336012)(70586007)(54906003)(81166006)(8936002)(478600001)(81156014)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3110; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: cf1baafb-db66-4889-9922-08d7cf3f8917 X-Forefront-PRVS: 0351D213B3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NFCCom7wX89ZJgLrvx9dS1seUTiUavqW0sFkoziUgMn3e9eSQYwtzE7IxdG3VDr7V+kKlXlEbtG3UcZlKwZKrxUs/jhBLGVErNmQ+lej+b69hmSNzZ4E++Sbb2zg00DM+Pz8zeAp2G8ViCEVIw0hCpapX/5/6NpTBnAnDRBh4N4dIgEdTGiI/jX/acGS3MTGWp7mgdhF05fsc73C/vZAgLqa68Ej0Sy8Q+Q/sAqXRAPHkyAvUum0BxdNSZxJ54ARoLo2chKu3QJVs+HPts4EYYheH2nVSTB/KoN4Mxflnv55apmJHonyWh1ZCUPQsr4QnN4T699FAb4ADwuMtI9xZC5ZXwXXfh8+o8kLKw5cf34IPsTbA3d9iIW3MMCrJaYcU1LDQSMa/8dai7ILdXDITmg/c6FLZX3InWTqo8dN77Yos9rCyBmFCPN4uJE+oZetDqo13a9ixJsVgHDeRnT3Z2JuKJacrCyQB1QnDsihAnRWoOam9XPkEW8eW3SXLugqkx+Du9T30vAh7CBH7AmWuw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2020 15:33:35.3144 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0f2619d4-79c1-48ea-8bf2-08d7cf3f8d17 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: AM6PR08MB3110 Subject: Re: [dpdk-stable] [PATCH] test: load drivers when required X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: David Marchand > Sent: Monday, March 23, 2020 16:40 > To: dev@dpdk.org > Cc: aconole@redhat.com; Ruifeng Wang ; > stable@dpdk.org; Reshma Pattan > Subject: [PATCH] test: load drivers when required >=20 > Concatenating to test_args if event_eth_tx_adapter_autotest is executed > makes all subsequent tests inherit from the drivers loading while this is > unneeded. >=20 > Fixes: 207b1c813f39 ("test: fix build without ring PMD") > Cc: stable@dpdk.org >=20 > Signed-off-by: David Marchand > --- > app/test/meson.build | 30 +++++++++++++----------------- > 1 file changed, 13 insertions(+), 17 deletions(-) >=20 > diff --git a/app/test/meson.build b/app/test/meson.build index > 0a2ce710f0..7ab2b586e1 100644 > --- a/app/test/meson.build > +++ b/app/test/meson.build > @@ -403,37 +403,33 @@ timeout_seconds_fast =3D 10 get_coremask =3D > find_program('get-coremask.sh') num_cores_arg =3D '-l ' + > run_command(get_coremask).stdout().strip() >=20 > -test_args =3D [num_cores_arg] > +default_test_args =3D [num_cores_arg] >=20 > foreach arg : fast_test_names > + test_args =3D default_test_args > + > if (get_option('default_library') =3D=3D 'shared' and > arg =3D=3D 'event_eth_tx_adapter_autotest') > foreach drv:dpdk_drivers > test_args +=3D ['-d', drv.full_path().split('.a')[0] + '.so'] > endforeach > endif > - if host_machine.system() =3D=3D 'linux' > - test(arg, dpdk_test, > - env : ['DPDK_TEST=3D' + arg], > - args : test_args + > - ['--file-prefix=3D@0@'.format(arg)], > - timeout : timeout_seconds_fast, > - is_parallel : false, > - suite : 'fast-tests') > - else > - test(arg, dpdk_test, > - env : ['DPDK_TEST=3D' + arg], > - args : test_args, > + if is_linux > + test_args +=3D ['--file-prefix=3D@0@'.format(arg)] > + endif > + > + test(arg, dpdk_test, > + env : ['DPDK_TEST=3D' + arg], > + args : test_args, > timeout : timeout_seconds_fast, > is_parallel : false, > suite : 'fast-tests') > - endif > endforeach >=20 > foreach arg : perf_test_names > test(arg, dpdk_test, > env : ['DPDK_TEST=3D' + arg], > - args : test_args, > + args : default_test_args, > timeout : timeout_seconds, > is_parallel : false, > suite : 'perf-tests') > @@ -442,7 +438,7 @@ endforeach > foreach arg : driver_test_names > test(arg, dpdk_test, > env : ['DPDK_TEST=3D' + arg], > - args : test_args, > + args : default_test_args, > timeout : timeout_seconds, > is_parallel : false, > suite : 'driver-tests') > @@ -451,7 +447,7 @@ endforeach > foreach arg : dump_test_names > test(arg, dpdk_test, > env : ['DPDK_TEST=3D' + arg], > - args : test_args, > + args : default_test_args, > timeout : timeout_seconds, > is_parallel : false, > suite : 'debug-tests') > -- > 2.23.0 Reviewed-by: Ruifeng Wang