From patchwork Mon Dec 19 15:06:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 34605 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2441129wrn; Mon, 19 Dec 2022 07:06:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXu5ZaE+RacxW1ULJ7shqKk3Owo5ehNfceeepuI/WcWGQq7aKPbWOUasWTTXq5u3H6S5eGNC X-Received: by 2002:a05:6402:1805:b0:474:47ce:ee8e with SMTP id g5-20020a056402180500b0047447ceee8emr14239407edy.30.1671462401398; Mon, 19 Dec 2022 07:06:41 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id v12-20020aa7cd4c000000b0046b807c19b9si8362243edw.190.2022.12.19.07.06.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 07:06:41 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=dnGHsXdg; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4699D38582B0 for ; Mon, 19 Dec 2022 15:06:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4699D38582B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671462399; bh=22t83rV/6STB3nMhaLo/+tOT1m19FrT6JJwdV6VYWSc=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=dnGHsXdgkRHIPpbLAIrY/CkL5t4Z1gePKBTkGL6KlODnCuNwMcJAbwfnc7lbomLFU Kn7GyZqbj/yqFJufV6o42vfML7dFL9KakF8+7BlM1qXVPVgDmaAk7oiQ+mQOJBY8eT mDxgeN9OHSBXZHyfU7z4FNBKy+O63ii+ffpwLaPA= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2079.outbound.protection.outlook.com [40.107.6.79]) by sourceware.org (Postfix) with ESMTPS id C318F3858414 for ; Mon, 19 Dec 2022 15:06:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C318F3858414 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PzQp2MU2vdCbWdnMG+eEDgnel767qJ2qC+4FNPhQCRRjJQFGoyuGbqDljrG4vYM4LW8donSzX2mvEh8Pkgksq+1OqbHU2b+T8KWIMWiU7s/mQVCcWXvhdFwWVzCqSJuH7DgEQfw9CmKWDWLkYSpv/Gv7/fX3qfaElvElDlEmQdpGLJOQGGq0dpE/Z4/KgINPzJ/6pOsDIpCQYLZrf+r3QHvlhhxVWx1TlzgPNEiQ+tv78vzhj8ixSUsnCJnYtnfJFtFknh46N0TTDe0wMvbV/zzzg7lAKrrbdW5qiVrmImA6Y9e57i7CJomWsj+fGr2ux5+St5VG7YoHokggx5QdmQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=22t83rV/6STB3nMhaLo/+tOT1m19FrT6JJwdV6VYWSc=; b=HFBwNl02HKgRv6mDtxAAZlpqa9HMTk9QB2eZGS3Z5VOIyd8+6MLrbskl9FtguvLasBRcG/tRCBnHANCVi34ErgAzbMczIDuOn92pDS/5YKf9AvMFPaj93XOlDw0dBXEYuP3m1DVb5LECtdgjB0icV4xB+vnE6vnJcXJC4sPX2g9kA9JG2n9op7bnlRUVzhRPTaZgtvIhM4s7DTk0XVkpIYHvF0741rUn9qJhUARQ5DGJGJ6sWN0ypnsGIh8APXWvXm+sXUtkUEciYNls4zrVxEXdWwdwsNMioRI1YjkNFFIQ+UVyfVgW/fyBpJovtWJT4o2AyEF57ATOMqdfbL0lMw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by AS8PR04MB8134.eurprd04.prod.outlook.com (2603:10a6:20b:3f1::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Mon, 19 Dec 2022 15:06:28 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8%4]) with mapi id 15.20.5924.016; Mon, 19 Dec 2022 15:06:28 +0000 Message-ID: Date: Mon, 19 Dec 2022 16:06:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US To: Binutils Cc: Vladimir Mezentsev Subject: [PATCH] gprofng/testsuite: restrict testing to native configurations X-ClientProxiedBy: AM3PR05CA0092.eurprd05.prod.outlook.com (2603:10a6:207:1::18) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|AS8PR04MB8134:EE_ X-MS-Office365-Filtering-Correlation-Id: d53e8c76-8884-4c4d-1f65-08dae1d29abe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OnsvD72E5FmosJo8PzN800FK3tDlP8Akvn6g9+HskNohEp2LsapAMDnfd2jeHiV4VMdH+UXgTvSRSPs1lNmK98Mek0Z0LfbFoZ+RHWC9BjfsqL7iKRfEk+WtMZSXDYVcNAJI3NUHCNIeHYz9VCEm7yvNk9Ef/miwlovjXlqeyi/uJV/RG4ucx8gNo6Ezm5iHlDSaAnmlYoJkaEs4zsOmP0PM054KV+TFnuP3/RDsWFMuDaZMAS56hEl6Pd3yG9uXGipE5aPesTWPhg6tlKKKcgkkWuQaG+tsRpGVXTqUpeSu2582zUeGJsfancQZ6uv+q8gQYnPYr5GDP9x5fYOucFGfzj6yGDvrAlmL/TK//dihXfgo6Vqbfe9mXSGkcecHzMyyUQv8kI/qq4MCrfAkO4y+y8KE+j+l90ATYj/U6Zn7ZVGpuLwbMlvAYgRaf9n7sE0XaZPxXyeXVwZXtxC4IiN+3E3uE9ZIMXb05pJTHrq9/2KFxQowUwhL+xb6TBE5PNFA9U2AQ+NGK9zxpK/wtGcneTxrKUHB2zNbTrkBmEvC8SYl0pGcoZxWIB2ln/5MvKu8/zmGXObilm9w8/wmHLx94ucmWKNrjXHB+7bKKx2ThtKjvMJ4UufZ7VKSVaxVioyC5BXtaL98u2pOHAgiOmGM/xTVmOc7tzerO72jEXuroBVcXib9RSGuCswk54nQKJkaymxXQYJEkadTnumcwQ0qXhX5l7VCSYasFd/TtPY= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6560.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(39860400002)(396003)(366004)(136003)(346002)(451199015)(31696002)(86362001)(478600001)(2906002)(6506007)(6486002)(31686004)(6512007)(26005)(6916009)(186003)(2616005)(66476007)(8676002)(66556008)(5660300002)(4326008)(66946007)(4744005)(38100700002)(36756003)(8936002)(316002)(41300700001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0XglwtZjGoEa8JLZmR2XUy8vlyiI?= =?utf-8?q?WcSqkF2r1IPMjZc22RzRhWHK/aAPhJtyWmJuOCGYvEz1jB+KLsOuAS3QXu8XFkIfa?= =?utf-8?q?ZSwwtkTI+mZ5IxhOiJ5Bvi6LUi8MAGVNIL1Pj1nSjCMyZmIvisFQU5RMFDp/m09W3?= =?utf-8?q?0d/Qw3u98mUmmdz/L19MUf1OjVVTTHDKFtaQ6bSwSP5EPgT2wcDOMcAz0VwGFFVUj?= =?utf-8?q?5nE5b513EnqxGAB0X5uYlRGAojHO77OuRazHi5iApkaNIcSWrHdANtuea/CkOGupz?= =?utf-8?q?L+5nO8Tju0V8pjUocArizVzy/WpiKYgE6dPa2ioIWEAz1jkAql79/RxKg0ZDdJa5m?= =?utf-8?q?1iayWvHU61N160oS9DKKtJBROHbhJu11JKDyDFM0U9XvcthZu8u7E2ywb+pu3sKQy?= =?utf-8?q?JpaM9QpYUwHj0cRsZDLYhKSNnRgoAaEYAOM4o3kwh1EHaNOFO71Co6dlieNL0xjED?= =?utf-8?q?BPqTsLkVKr4ED66SW6CNhVO9A/GfeEeOzam/DN53YEzqBl76PJWN2wwj/XVwDdfs/?= =?utf-8?q?5CaOCK1GoB0EBK5aNdR4jH0iAuT+5kP8iR3iNXPADkGB9A53fLen0+S9eeH3bkf0A?= =?utf-8?q?v0F1z0dhStUR8Gx77HC+V66MeIlyz1ukWeENRStkS9JS+uNFv9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f-8?q?hU0GuvNtMFgl?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d53e8c76-8884-4c4d-1f65-08dae1d29abe X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2022 15:06:28.3285 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CnMpq1K9xwpYI5STCXQikF3D/fuLSFOJ156Cl4TgWAJa7YAf7ftGplzHjkPNNHh6+YgCz099HYnNfir/f4/oKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8134 X-Spam-Status: No, score=-3028.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jan Beulich via Binutils From: Jan Beulich Reply-To: Jan Beulich Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752655358697860371?= X-GMAIL-MSGID: =?utf-8?q?1752655358697860371?= The binaries involved in testing gprofng are native ones, and hence a cross build of binutils won't really test intended functionality. Since this testing takes quite a bit of time (typically more than running all of binutils, gas, and ld testsuites together), restrict the testing to native configurations only. --- a/gprofng/testsuite/gprofng.display/display.exp +++ b/gprofng/testsuite/gprofng.display/display.exp @@ -24,6 +24,13 @@ if {[info exists env(LC_ALL)]} { set env(LC_ALL) "C" set pltf [exec uname -i] + +# Native testing only for now. +if { ![istarget $pltf-*-*] + && (![string match i?86 $pltf] || ![istarget i?86-*-*]) } then { + return +} + switch $pltf { x86_64 { # Columns in the table represent: