Message ID | 874jyt5ktm.fsf@oracle.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:b5d6:b0:2b9:3548:2db5 with SMTP id v22csp466192pxt; Wed, 3 Aug 2022 09:55:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v5KUsnJeufkca5VHVvWNGyR6FlP6Rle6klgGkPpcV2jHbBB302mJuBRtKF5fx1ZSb5FcLI X-Received: by 2002:aa7:da93:0:b0:43d:1d9d:1e5 with SMTP id q19-20020aa7da93000000b0043d1d9d01e5mr26438720eds.55.1659545743821; Wed, 03 Aug 2022 09:55:43 -0700 (PDT) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ht8-20020a170907608800b0072b02ef4ad9si17491176ejc.307.2022.08.03.09.55.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 09:55:43 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.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=@gcc.gnu.org header.s=default header.b=f+x6wKpm; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6F443385782C for <ouuuleilei@gmail.com>; Wed, 3 Aug 2022 16:55:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F443385782C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1659545742; bh=PkDKKEK03rHOOyVCcyMblMTiXl5qgIJMhS9tGyIQdyU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=f+x6wKpmzBo1zQwNjyOVcUtDUdOqx61wW6jtLqg4Z6M8zskOzkYVLr6Br2I6Zuv3B ZR5Z2cb1s6fVC4LlYUli7HEeHJkG/YR+VAOwlh80r3uNny/gySA7uvkHQNiSBeXR3Q o5hBjvOJnQ6xLuYeGozQRHLcFS6WHSfnjfv09xh0= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id 57F48385828D for <gcc-patches@gcc.gnu.org>; Wed, 3 Aug 2022 16:54:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 57F48385828D Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 273F8aMS025657 for <gcc-patches@gcc.gnu.org>; Wed, 3 Aug 2022 16:54:57 GMT Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3hmu2cachu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Wed, 03 Aug 2022 16:54:57 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 273FR2aJ003197 for <gcc-patches@gcc.gnu.org>; Wed, 3 Aug 2022 16:54:57 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3hmu33gem9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Wed, 03 Aug 2022 16:54:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C4eL7J8gPzi4AZVhZDZpXJ1Ilocrieh7jGqHWQq/xHfR+guGQEVWmm2SO0TygRantAw6hEYwVrWM+sJxVXeQvN/oGr9d/dBE3mKKn/SrLVjGFOY6m7oDo1tTJKsHYhqXmYVNY/ycrJbN59M39vd9JFnqI/d7OetuOiS6GHmlD3Cn7DjsiVdN/NaNM/+SQrDTlD5Xe9K33ueZ6EmMG2uIeMtoKIXr3BdfdPyfZ8xeH7em4PyLN+9j5W71tuuXSaxWJjRZkJTW65L9h0xG9nZYT6LAFSzAJ67AdnPW5kOUNvZiXQ148JdzKop9j71pqGhOPtg1VhRhFPKuF6U5lkQPOg== 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=PkDKKEK03rHOOyVCcyMblMTiXl5qgIJMhS9tGyIQdyU=; b=aAPPbNuMlX+ADfEVAFjKhUyMehbTXwfS27uGuXPkKyKAsSrXJ6ZSfpsX0bCttwi0IS4V5AIt/i8xg0AEGOGZSkEaStZ4vRDWbChksjBi/T5IwCGI5EqNT5Yns+fzsMWFfL5WySgrCtp+P2hskyBZm0/KqKMVn3zARnnGaNb/ccEY56ywIWTLopfXA6bKKJtbNUeTdibywpvfaze1oywYTR9xeToX6aUd8qUbSIpoanH0ZiJXqbHnw+hkhYQwA085Xl/DN3VH8YPozm0ox2HaOyqoI5rKYhv6DmRxx0bS5gat2IxPIxOLDj0GwjY7tOGHy5KEFNAJmtVVM5wzSusxeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none Received: from BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) by BL0PR10MB2771.namprd10.prod.outlook.com (2603:10b6:208:7b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.16; Wed, 3 Aug 2022 16:54:54 +0000 Received: from BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::b5ee:262a:b151:2fdd]) by BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::b5ee:262a:b151:2fdd%4]) with mapi id 15.20.5458.024; Wed, 3 Aug 2022 16:54:53 +0000 To: gcc-patches@gcc.gnu.org Subject: [COMMITED] testsuite: btf: fix regexps in btf-int-1.c Date: Wed, 03 Aug 2022 18:54:45 +0200 Message-ID: <874jyt5ktm.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: LNXP123CA0021.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::33) To BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b4168f0b-fd1d-4855-8433-08da7570e336 X-MS-TrafficTypeDiagnostic: BL0PR10MB2771:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Co/2oWfAVYa3UcK2t512jsubCJbE0tSl4ii0Dg2YRqHISYk/2pwCxOhWBroZ9MmJrJjVc4/FpJSxwS+dgkHGMQxIvc05jR931e0FWRYPQK7c59nBY1263T6fv0kIoME+XzCGsBcLyxG9Q/P41A7MTVxkWasebLdQPBfgXe83uCYoYcBMeiwRdb5I9/AbUsSwvIaOYUbJr1bw0nyWOF+upUEEZLIo67xtJl2ggSbOPjbjmFytzctHQHG4qEvIhCqO4Akm5udauEeN8VoeXtOZz5D2x8xhXE4c4fhk1mVolTTksbqL5yR7xIh2NcraIaDr0PxLKmj2fxaNBo8xHx3fpnMAtPtBMkplV22hAzO6sno8nLeG008LghoS/47Eke7X1QGPYP8/4/hJSaaLlx23zW7i2wXKa5damVVqYALH9HjNPfzEdfaCjHKWDxRPUzvvTThAqVU0TkEOSP8NqJg6Wc/8BFekkMXQX4830uJbkUZYGPeF82bAiD0ZOOCqnZgW1VEjwgZ8QQTDR0DF/YbRxdVo8gp/b18gaEOpPrWyeIad+kBFpd3xk37o5IA4FB6B0WhTXzT3zOaQZtMr1B8APYbF+i0FYyOw6kMTGzzaShhQra6EJi9vtRONLs/boirKJkP7BoDvhzhv6CCVb5tBzljuxBYSLvPsXZSZBMVk+rG4+ZVIEnJqqHKLLB1TFSOPySCayHcvkJUmLc8jE+sbKaX6uJR3Uwp2pJlc0jspDKQZpmZdv40xbpPvRJ/3qBZWAE5DcM9UVNeH+syjso/iXDY3Wbc4ul3tVuRXq4qWxgMPnO95nRRP1r9874HKkCevljxKIw8myyqzZHfwEOwRzw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR10MB2888.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(39860400002)(366004)(136003)(376002)(346002)(396003)(6506007)(6512007)(316002)(26005)(2616005)(8676002)(6486002)(66556008)(66946007)(4326008)(107886003)(52116002)(66476007)(186003)(38100700002)(38350700002)(36756003)(86362001)(2906002)(5660300002)(8936002)(83380400001)(6666004)(6916009)(84970400001)(478600001)(41300700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: twj4tvLUijD8jtodfqMVqyzTqy/S2PUh5Dp/l1NWw2syLZYtGkOYrucnGA+BnmG9Halt5dq+J9tiCs7QH9QtcdHQBYrnqqpKUVQvl7F6YCmb1EaPf6Y/glIBbzeMvSsoxzhnCCuMIbsFpJ/R06/AMinFlEa6yL9YROBX1yAgLcjMh6Apyq/JTwv3X+/jwDYANKIfFKy0S9rDy9dJDpw4UwLEsuMF6Qysfrf1u3w4wlh7GjYjMLpJudM1CwvfuIR6CkKadIoXCPHJfNsrkd414FHlULFS7sd1K5/mvlgG/p4XvNkxHLrEsxvT4DZm0/fTWemziFgZuaw453cbaSS2dl+ARToLodsX0AOYBphGtgwNWOVs1gsZIjGb/A0J+yV/rKaxbNt0QWPQ/Hzg7vecqM9DX0tphSqbZFHxMdfm/gYJz6nfP75+q944sYglteEaLKo/Rof2M0PoiKZclwXcoq9SHDA3fRxJESrs0zH4et/10WymuqjzvGhSRld20XQY4X4/54O5nlUFPKDFlvG6YrY/XtMvwguQFoAHgONY6oKRQWVVXRbrumtr2vGaIKczmrX+d7v3llGFNRa0oR+YrfclQyD7UbWTbYCEkYrhjFb6zjF4m00Oo2F3qVCHIFyLT5MHPLUqFz5KrjRY/fH4W5//5e+SUxSJv0EBTelbwYEETzGdkSAddilvIxk1IzXNUyq9/mMd+PbAg28qRKo/7f8ftXXTHm7qU2Pks3nNs2ZjtSVlreYUZnITt+Hv8pIRuO4jH3zvUzrpfdV7tkXlQZnyKdNd1QvaDMiJV8Lb/fRA1K6M3bOd2asTeYqHgFHEEFEViqyyjHc/T5VC9ahAK6+SBmCcySMS0snMQTRv3nXsN+Esq4YaTIyDk9k7DczcP5pPJAKyIiK9yi10uXGDpUlsEX6vg0KF4mgQijlTa1zuixC+u1+ZkCIb1HJcBkeKK4oUXflk0RnYfHGvjfHakjXng6IHcknc18ONcqd8DPj+guXa+By4mihWXz7s6moKBCU/s7nqdiawZLrCkvtQwEd0efdiT+XjHn+IEvX5JojjXqDWhuLTtO2dngM+/1Oa/Xe0N5uUTq/Vac2AMV98kNMuE4IPk4mpzvhK8NQexqqlI6y/Uy13g/Ga0JBz7U4nDo6OdaLp1xBIKW7QxOIPzUE2k2/RsT/QjMqL4HlkUFjdGlp2vIqnwzBtJqT6VBnak7ne2q/4T2kwf5hRDz2PvHciLYUMqsc0wgMoD19akUBBXWm2ZOSWZwqxG/pD5vSGcjPE0kZSGHMPmbeDUO8RFZ9erXZ4jzT0CFbidWOdXgVKm+s0P07h5XwHOjG7m5Se4CGYu7vgohiFnlKzlaWzf7HsJtBcC/XLBu7huIfUF53xz2yzPtHQ1V/ESEtRlIi2nRkl9T9VpCmhTteid0CQ/xtiJWZL82JDERdKXJSbPEGh2uj7oIVKGsUImxG0NoSydelpUtd+afvmY+xWadPL4f1/m5VfE/QPyWMhxdf8Ae28WLwQILR9hKYx4SHxsC08vuXtNLNgSVeaqVYvjRWY0rmWIoqp/1MSmYwRCmMBS7ilBpJ/SO4clAnGBGZ91gJtKnM7C2/j32TqIXOoiKHyIg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4168f0b-fd1d-4855-8433-08da7570e336 X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB2888.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2022 16:54:53.6384 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sYb/pwrnMi4rn+oDkORjCUL2nmuAC0irXdujl/jkvYg+gs0AUdYuNEcAjbvP7yYxS5++tHG6bLaqpXXT2qOCyRCWII+88OPmhC0lmBkQpvc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR10MB2771 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-03_04,2022-08-02_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 mlxlogscore=450 bulkscore=0 mlxscore=0 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2208030075 X-Proofpoint-GUID: 51fYibMXrVamptlTONwKjpu4rHcqsA7Q X-Proofpoint-ORIG-GUID: 51fYibMXrVamptlTONwKjpu4rHcqsA7Q X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: "Jose E. Marchesi via Gcc-patches" <gcc-patches@gcc.gnu.org> Reply-To: "Jose E. Marchesi" <jose.marchesi@oracle.com> Cc: indu.bhagat@oracle.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1740159837860919927?= X-GMAIL-MSGID: =?utf-8?q?1740159837860919927?= |
Series |
[COMMITED] testsuite: btf: fix regexps in btf-int-1.c
|
|
Commit Message
Jose E. Marchesi
Aug. 3, 2022, 4:54 p.m. UTC
The regexps in hte test btf-int-1.c were not working properly with the commenting style of at least one target: powerpc64le-linux-gnu. This patch changes the test to use better regexps. Tested in bpf-unkonwn-none, x86_64-linux-gnu and powerpc64le-linux-gnu. Pushed to master as obvious. gcc/testsuite/ChangeLog: PR testsuite/106515 * gcc.dg/debug/btf/btf-int-1.c: Fix regexps in scan-assembler-times. --- gcc/testsuite/gcc.dg/debug/btf/btf-int-1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-int-1.c b/gcc/testsuite/gcc.dg/debug/btf/btf-int-1.c index 87d9758e9cb..e1ed198131a 100644 --- a/gcc/testsuite/gcc.dg/debug/btf/btf-int-1.c +++ b/gcc/testsuite/gcc.dg/debug/btf/btf-int-1.c @@ -18,10 +18,10 @@ /* { dg-final { scan-assembler-times "\[\t \]0x1000000\[\t \]+\[^\n\]*btt_info" 9 } } */ /* Check the signed flags, but not bit size. */ -/* { dg-final { scan-assembler-times "\[\t \]0x10000..\[\t \]+\[^\n\]*bti_encoding" 4 } } */ -/* { dg-final { scan-assembler-times "\[\t \]0x..\[\t \]+\[^\n\]*bti_encoding" 3 } } */ -/* { dg-final { scan-assembler-times "\[\t \]0x.\[\t \]+\[^\n\]*bti_encoding" 1 } } */ -/* { dg-final { scan-assembler-times "\[\t \]0x40000..\[\t \]+\[^\n\]*bti_encoding" 1 } } */ +/* { dg-final { scan-assembler-times "\[\t \]0x10000\[0-9a-zA-Z\]{2}\[\t \]+\[^\n\]*bti_encoding" 4 } } */ +/* { dg-final { scan-assembler-times "\[\t \]0x\[0-9a-zA-Z\]{2}\[\t \]+\[^\n\]*bti_encoding" 3 } } */ +/* { dg-final { scan-assembler-times "\[\t \]0x\[0-9a-zA-Z\]\[\t \]+\[^\n\]*bti_encoding" 1 } } */ +/* { dg-final { scan-assembler-times "\[\t \]0x40000\[0-9a-zA-Z\]{2}\[\t \]+\[^\n\]*bti_encoding" 1 } } */ /* Check that there is a string entry for each type name. */ /* { dg-final { scan-assembler-times "ascii \"unsigned char.0\"\[\t \]+\[^\n\]*btf_string" 1 } } */