automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/6] Test that aclocal(s) used by the testsuite and by autoco


From: Stefano Lattarini
Subject: Re: [PATCH 1/6] Test that aclocal(s) used by the testsuite and by autoconf match.
Date: Sat, 21 Aug 2010 12:30:33 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

On Saturday 21 August 2010, Ralf Wildenhues wrote:
> Hi Stefano,
> 
> you don't make it easy to catch up with you!  :-O
> 
> * Stefano Lattarini wrote on Thu, Aug 19, 2010 at 02:54:52PM CEST:
> > * tests/remake0.test: New test.
> > * tests/Makefile.am (TESTS): Updated.
> 
> OK with ...
> 
> > --- /dev/null
> > +++ b/tests/remake0.test
> > @@ -0,0 +1,38 @@
> > 
> > +# Make sure the autoconf used by $ACLOCAL and the autoconf used
> > by the
> 
> ... either  s/the$//  here, or
> 
> > +# Automake's testsuite match.  This is mostly a sanity check for
> > the
> 
> s/'s//  here.
Done.
 
> > +# Automake's testsuite, and its failure is an indication that
> > the others
> 
> s/'s//
Done.
> s/ and / /
Done a slighty different s/, and /: /
> s/others/other/
Done.

> > +# tests (especailly other `remake*.test' tests) might experience
> > spurious
> 
> s/especailly/especially/
Typo fixed.

> > +# problems.
> > +
> > +. ./defs || Exit 1
> > +
> > +set -e
> > +
> > +: > Makefile.am
> > +
> > +$ACLOCAL 2>stderr || { cat stderr >&2; Exit 1; }
> > +cat stderr >&2
> > +grep -i 'warning.*generated for autoconf' stderr && Exit 1
> > +grep -i 'another version of autoconf' stderr && Exit 1
> 
> Is it possible to have a warning here already?
Most probably no, I was just being paranoid.  Let's just remove this 
chunk.

> > +$AUTOCONF 2>stderr || { cat stderr >&2; Exit 1; }
> > +cat stderr >&2
> > +grep -i 'warning.*generated for autoconf' stderr && Exit 1
> > +grep -i 'another version of autoconf' stderr && Exit 1
> 
> I can see that a warning might happen here.
And it does for my current setup, without the later patches applied. 
 
Thanks,
  Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]