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.129.124]) by sourceware.org (Postfix) with ESMTPS id 79A853858D1E for ; Fri, 30 Sep 2022 18:05:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 79A853858D1E 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=1664561107; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A6xdIx6Avk5lVtAwtWE3CkO95BmxpzhHYdibYQpx8jM=; b=go5Q4aVXIlqWe007ORuO8msh2uqm+aruYpjUM56OoKl8OB9L7n5tKgCfeyGQhpQnYAeuaA pjVeh/D0IRjM0ehT54Lg3aifSn768+R2xRZtt/NyaqouVpr0rnSDYXUiQaxKQXsEMlQ5ei rrJkAnJ8WhxMfVolC1xc3513VETVNYQ= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-623-1B6vpfQwM-mOcN2JDC3Uow-1; Fri, 30 Sep 2022 14:05:05 -0400 X-MC-Unique: 1B6vpfQwM-mOcN2JDC3Uow-1 Received: by mail-qk1-f198.google.com with SMTP id bp17-20020a05620a459100b006ce7f4bb0b7so4286179qkb.5 for ; Fri, 30 Sep 2022 11:05:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=A6xdIx6Avk5lVtAwtWE3CkO95BmxpzhHYdibYQpx8jM=; b=1uL5zGVBOxJPTEvH2I7XgInK0J1u3rnbk6/eQPcvW+loN2Bf9G+SPU8dLjd8Ny40mo DNEcScwMjZNVy+UMYdC8coHxVD64PyY1o9aeHrGrKhcuF/DSm5tPZ6HIx2vffGKMC+/C +Rw3Dc+J7EuLy4VO69GmzDgHj8pWGg2AIbLDx7CYUgtac2ZFTLwkoQCJxLmUxF/kDQKx JTZg6FRHeKfPoi8YTiGi6UMin+infpDJtldLiSBtllUnxi91+T+H7/Q8Ul3p+hxUUp5J 8WN8RfYoM42aWbSTr8EWrSTHIu/3UdNOBF6I9y8aOgLX2LycV+8nL8zmhvQVDtDK5tD0 kL1A== X-Gm-Message-State: ACrzQf2IIYfFlx32Tdblrn3YV5vWjchrRL/e2x6ddp9pZrJAqj83qEoe d1W9CKmW5haXzQKCxJhov91d6QZuPOH4ZhIzQkrxHlWhoCjr2b6j2NOp5J79sniH3BHyrfuXJvj efuXWPSuGcUQa1PH/kt7Ia7iFbvGInlqgfA== X-Received: by 2002:a05:6214:c4c:b0:4af:98ad:aade with SMTP id r12-20020a0562140c4c00b004af98adaademr7637825qvj.41.1664561105125; Fri, 30 Sep 2022 11:05:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5j8lHz1FUOS5OSYGFtTAKuNkk/Hw7rUHBdmUWyOCELtakfyA0eD8QJ2T9b+poIlzE+8zq8zSCZZSXEuDPXJpI= X-Received: by 2002:a05:6214:c4c:b0:4af:98ad:aade with SMTP id r12-20020a0562140c4c00b004af98adaademr7637809qvj.41.1664561104984; Fri, 30 Sep 2022 11:05:04 -0700 (PDT) MIME-Version: 1.0 References: <20220930153845.2268381-1-torbjorn.svensson@foss.st.com> In-Reply-To: From: Jonathan Wakely Date: Fri, 30 Sep 2022 19:04:54 +0100 Message-ID: Subject: Re: [PATCH] testsuite: Windows paths use \ and not / To: Jakub Jelinek Cc: =?UTF-8?Q?Torbj=C3=B6rn_SVENSSON?= , "libstdc++" , gcc-patches@gcc.gnu.org, nathan@acm.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 List-Id: On Fri, 30 Sept 2022 at 18:55, Jakub Jelinek wrote: > > On Fri, Sep 30, 2022 at 06:47:07PM +0100, Jonathan Wakely via Gcc-patches= wrote: > > On Fri, 30 Sept 2022 at 17:26, Jonathan Wakely wrote: > > > > > > On Fri, 30 Sept 2022 at 17:04, Torbj=C3=B6rn SVENSSON > > > wrote: > > > > > > > > libstdc++-v3/testsuite: > > > > > > > > * 20_util/bind/ref_neg.cc: Prune Windows paths too. > > > > > > Please CC the libstdc++ for libstdc++ patches. > > > > > > OK for trunk, thanks. > > > > I'm seeing errors now on x86_64-linux: > > > > ERROR: 20_util/bind/ref_neg.cc: unknown dg option: /\\ for " > > dg-prune-output 53 "[/\\](functional|bits/invoke.h):" " > > > > ERROR: 20_util/bind/ref_neg.cc: unknown dg option: /\\ for " > > dg-prune-output 53 "[/\\](functional|bits/invoke.h):" " > > Bet it should be > // { dg-prune-output "\[/\\](functional|bits\[/\\]invoke.h):" } > or so. Completely untested. That fixes the error, but now the regex doesn't match so there are still excess errors. It needs to be: // { dg-prune-output ".*\[/\\](functional|bits\[/\\]invoke.h):.*" } Without any regex special characters, there's an implicit .* before and after the pattern. But when you use any regex special characters in the pattern, it stops working. I can't remember why. I figured it out once.