From: Alexandre Duret-Lutz Date: Mon, 8 Jul 2002 19:11:44 +0000 (+0000) Subject: * tests/defs (AUTOMAKE): Add -Wall. X-Git-Tag: Release-1-6b~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e513ff27e38b02864a75add2124d076e1d3bb18;p=thirdparty%2Fautomake.git * tests/defs (AUTOMAKE): Add -Wall. * tests/outdir.test: Use -Wno-obsolete. --- diff --git a/ChangeLog b/ChangeLog index a3e1dced9..0a63bc314 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-07-08 Alexandre Duret-Lutz + + * tests/defs (AUTOMAKE): Add -Wall. + * tests/outdir.test: Use -Wno-obsolete. + 2002-07-07 Tom Tromey * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep diff --git a/tests/defs b/tests/defs index a699c4c51..68c28386c 100644 --- a/tests/defs +++ b/tests/defs @@ -121,7 +121,10 @@ echo "=== Running test $0" if test -z "$AUTOMAKE"; then perllibdir=$srcdir/../lib export perllibdir - AUTOMAKE="$PERL `pwd`/../../automake --libdir=$srcdir/../lib --foreign -Werror" + # Use -Wall -Werror by default. Tests for which this is inappropriate + # (e.g. when testing that a warning is enabled by a specific switch) + # should use -Wnone or/and -Wno-error + AUTOMAKE="$PERL `pwd`/../../automake --libdir=$srcdir/../lib --foreign -Werror -Wall" fi # See how aclocal should be run. diff --git a/tests/outdir.test b/tests/outdir.test index f3da31635..aebf0d3ec 100755 --- a/tests/outdir.test +++ b/tests/outdir.test @@ -12,7 +12,7 @@ END mkdir zardir $ACLOCAL || exit 1 -$AUTOMAKE --output-dir=zardir || exit 1 +$AUTOMAKE -Wno-obsolete --output-dir=zardir || exit 1 test -f Makefile.in && exit 1 test -f zardir/Makefile.in