[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-patches
Subject:    Re: [PATCH] testsuite: Windows paths use \ and not /
From:       Jakub Jelinek via Gcc-patches <gcc-patches () gcc ! gnu ! org>
Date:       2022-09-30 17:55:34
Message-ID: YzctlvJGFnTeXaqS () tucnak
[Download RAW message or body]

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örn SVENSSON
> > <torbjorn.svensson@foss.st.com> 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.

> > > Co-Authored-By: Yvan ROUX  <yvan.roux@foss.st.com>
> > > Signed-off-by: Torbjörn SVENSSON  <torbjorn.svensson@foss.st.com>
> > > ---
> > > libstdc++-v3/testsuite/20_util/bind/ref_neg.cc | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc \
> > > b/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc index e779d2f20bd..1e9f3e7fece \
> > >                 100644
> > > --- a/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc
> > > +++ b/libstdc++-v3/testsuite/20_util/bind/ref_neg.cc
> > > @@ -50,7 +50,7 @@ void test02()
> > > 
> > > // Ignore the reasons for deduction/substitution failure in the headers.
> > > // Arrange for the match to work on installed trees as well as build trees.
> > > -// { dg-prune-output "/(functional|bits/invoke.h):" }
> > > +// { dg-prune-output "[/\\](functional|bits/invoke.h):" }
> > > 
> > > int main()
> > > {
> > > --
> > > 2.25.1
> > > 

	Jakub


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic