]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* tests/defs (AUTOMAKE): Add -Wall.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 8 Jul 2002 19:11:44 +0000 (19:11 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 8 Jul 2002 19:11:44 +0000 (19:11 +0000)
* tests/outdir.test: Use -Wno-obsolete.

ChangeLog
tests/defs
tests/outdir.test

index a3e1dced9d36e4328528c877c6e549c4fe2778a6..0a63bc314b7946b3095481d2c2b9a5757cfd8363 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/defs (AUTOMAKE): Add -Wall.
+       * tests/outdir.test: Use -Wno-obsolete.
+
 2002-07-07  Tom Tromey  <tromey@redhat.com>
 
        * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
index a699c4c51ad55bfcb33771720e63ee155d544cd2..68c28386c50d3f734e72afb9d5d287b3d6d0e519 100644 (file)
@@ -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.
index f3da316353913e1b6a22eb9084d73a1ccb71ea90..aebf0d3ec8fea717f57768d6b5d04f33848bda1d 100755 (executable)
@@ -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