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 033A53858C55 for ; Fri, 30 Sep 2022 18:05:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 033A53858C55 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=1664561109; 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=Pnu1wYMyFk8tsvriXxml25t4qJwemuCAjB4rvP4eLSGgc8PlPZ0/MF4aRyq+vVogGoMGDc OkaJnxLRTytzH4uwg50cxgXNkFV8gi3F7OvE4kY5YzliKTeNB6+dnPraCba6Qgd2kRd0Nx 2pa9XBIbm0PiTE80qNVZEld8XrVgqgw= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-302-Gp3SYfJbO_azy0s1jewJVA-1; Fri, 30 Sep 2022 14:05:05 -0400 X-MC-Unique: Gp3SYfJbO_azy0s1jewJVA-1 Received: by mail-qt1-f200.google.com with SMTP id e8-20020ac85988000000b0035c39dd5eb9so3449629qte.16 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=D9+uxUTOo7vYt/UKGINCN5L9GO0JhVCBZrtNE6GChrM09ii+n1jwVTJOGpRahDEyWk zApwdfrcWagzymScvvn8mubmsbBtos7YumywpsKQUOIPCV2WjY3ll2QHAYPr98cvv947 6IL8216E3SbPD57djCSBpiPqNQ8QaOivja2jkUJ4OQ8zFNavSr0sp4eFZ2GnMH3y5VsO mjb1fdjK6yeOYLxT18vyafb9vC/S8+y6pmWsMvOKA/X9kv7psWrl3eBxhdWTt87z5qDg NxCoc+6LHS/h2BJ6Fn+tyfR26QjSbJcnXacS5p8MHtv6BFECLIhnmX4a14R6rLipQTl8 JNfw== X-Gm-Message-State: ACrzQf1tcDClBpj2j2k3+AgDvfnzQVqtz+2qf07xhLh2NcLjI97bWnJC E+igSQvaOjLi1hZ8jhyyArF2KvZYXYyluch4CwfJ9V1Z6JAWKlw/uPVh63tbJIOTyewXfF4GE0l pcPxxoh7sOVvriOAujARchh9lPLrqpwc= X-Received: by 2002:a05:6214:c4c:b0:4af:98ad:aade with SMTP id r12-20020a0562140c4c00b004af98adaademr7637822qvj.41.1664561105122; 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=-6.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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: 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.