From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 222E03858C54 for ; Mon, 28 Nov 2022 10:09:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 222E03858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669630151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yoUC5UQJumULjiegZ0fuf3HQSILic8cH6We239PYxzc=; b=If1NZQRaS6rlDolqoKznsRbbJVpDT0EyIsQakM3q0HJCDWz6CaLXr650/98fV2aSgyDY9y sBuIeManK3xnL7VdtLncKVYUBF1mzqfDCgMOuYE4BoGwfcYLRT/bFSg+L8o7TQ5+1uVkIh 3+ujrxbZUh7h85J/DrzbXU7eEZ0PVas= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-654-BoNIQU_wMFSwxAtp8WRnRg-1; Mon, 28 Nov 2022 05:09:10 -0500 X-MC-Unique: BoNIQU_wMFSwxAtp8WRnRg-1 Received: by mail-ed1-f71.google.com with SMTP id q13-20020a056402518d00b00462b0599644so6412738edd.20 for ; Mon, 28 Nov 2022 02:09:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yoUC5UQJumULjiegZ0fuf3HQSILic8cH6We239PYxzc=; b=Eqwi3ZEQYTRhjzlH3QjcAShpLG8NBr5bbYWntWgcg2D4Mb5JZKf7HEfjRYFqSlC15g YM911DSbhijMh/QDB1jQbrfo5KWYQ3ZWoh87aYQTJzMaSXvTiaC7Wk68IU2TJdliCEMP L2jOT3AQ5LAbSWFLMy3jA7cM3GKURV5WWzUnwV1zk0sw7CNFJrAosItzlfdYZBUyUhKL 3ZFLsmDk2oFc2ikSJxvcWcwUo61T5HfSLj2+CeiCLeQtRD4gcKNvk/wbRCvpoa/+fRwO RyoM5e+7smJa+QfYixGz/2LNHJzrENLZIz89x9e3lgtKfQUtO5Kjiic4Y5IcHGmDCFOs VQrw== X-Gm-Message-State: ANoB5pk6YPbyW0qGiXq6JJqz67PXxdBdnJFhcvkl64BcIlgMFyjhT4sr A78sGkUju0OM2FBumKLxU/p2wivTO2v/X9hv96x0d/sUimR48pZhGCp4kd5UtEEkkaFL9UOu0dq V+rDGSQlXujZXYJBlPEcoCxNZgP7MMzZKOQ== X-Received: by 2002:a05:6402:1772:b0:46a:7f4d:efe5 with SMTP id da18-20020a056402177200b0046a7f4defe5mr19748876edb.304.1669630149192; Mon, 28 Nov 2022 02:09:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf4TelxxjESrXW0oFRaKmJjnqFrpaYR5lSRppAZUSLVgwVLQYK1CNQpvHq7ml2IsYnXh+m3wPWqozpIYxnc7mw0= X-Received: by 2002:a05:6402:1772:b0:46a:7f4d:efe5 with SMTP id da18-20020a056402177200b0046a7f4defe5mr19748859edb.304.1669630148938; Mon, 28 Nov 2022 02:09:08 -0800 (PST) MIME-Version: 1.0 References: <323b61ce-7027-bad3-a061-c198d7268a22@gmail.com> In-Reply-To: From: Jonathan Wakely Date: Mon, 28 Nov 2022 10:08:58 +0000 Message-ID: Subject: Re: [PATCH][_GLIBCXX_INLINE_VERSION] Adapt dg error messages To: =?UTF-8?Q?Fran=C3=A7ois_Dumont?= Cc: "libstdc++@gcc.gnu.org" , gcc-patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="000000000000ef2ac505ee850fa2" X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000ef2ac505ee850fa2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 28 Nov 2022 at 10:06, Jonathan Wakely wrote: > > > On Mon, 28 Nov 2022 at 06:02, Fran=C3=A7ois Dumont via Libstdc++ < > libstdc++@gcc.gnu.org> wrote: > >> libstdc++: [_GLIBCXX_INLINE_VERSION] Adapt dg error messages >> >> libstdc++-v3/ChangeLog >> >> * testsuite/20_util/bind/ref_neg.cc: Adapt dg-prune-output >> message. >> * testsuite/20_util/function/cons/70692.cc: Adapt dg-error >> message. >> >> Ok to commit ? >> >> > OK, thanks. > > > Actually wait, can you test this instead? --- a/libstdc++-v3/testsuite/lib/prune.exp +++ b/libstdc++-v3/testsuite/lib/prune.exp @@ -37,6 +37,8 @@ proc libstdc++-dg-prune { system text } { return "::unsupported::hosted C++ headers not supported" } + regsub -all "std::__8::" $text "std::" text + # Ignore caret diagnostics. Unfortunately dejaGNU trims leading # spaces, so one cannot rely on them being present. regsub -all "(^|\n)\[^\n\]+\n *\\^\n" $text "\n" text This should mean we can stop needing to make these changes to every test, and just write the tests naturally. --000000000000ef2ac505ee850fa2--