]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: don't disable portability warnings when there's no need
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 24 May 2012 22:19:02 +0000 (00:19 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 24 May 2012 23:53:59 +0000 (01:53 +0200)
Some annoying portability warnings only needed for non-GNU makes have
since long been removed in Automake-NG, so they don't have to be
explicitly disabled in tests that checked "unportable" behaviours.

* t/canon5.sh, t/extra11.sh, t/library2.sh, t/pattern-rules2.sh,
t/pluseq7.sh, t/parallel-tests-fork-bomb.sh: Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/canon5.sh
t/extra11.sh
t/library2.sh
t/parallel-tests-fork-bomb.sh
t/pattern-rules2.sh
t/pluseq7.sh

index 4b1b43d8d777ccc4dfb2d609d55ec72834ea119c..8a3f4272ee7965b0a4f5dcaf4d6ec1eca280cc58 100755 (executable)
@@ -52,6 +52,6 @@ bin_PROGRAMS = ,foo
 _foo_SOURCES = foo.c
 END
 
-$AUTOMAKE -Wno-portability
+$AUTOMAKE
 
 :
index eeec7cddfa43ff35e1e51e0e32d15960d6c1010d..b97000d437b168eb0041d11d3566a5a0dd938f2a 100755 (executable)
@@ -22,8 +22,6 @@
 echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
-AUTOMAKE_OPTIONS = -Wno-portability
-
 EXTRA_DIST = $(wildcard [!c-z].t d.t [ab].dir foo.* *zardoz*)
 
 .PHONY: prereq
index dfa87584c35f9443745a093fca215b969b68843c..42a7c62b9211e721d41aa3a07e53761b74bd4341 100755 (executable)
@@ -27,5 +27,5 @@ EXTRA_LIBRARIES = libfoo.a
 END
 
 $ACLOCAL
-AUTOMAKE_fails -Wno-portability
+AUTOMAKE_fails -Wnone
 grep AC_PROG_RANLIB stderr
index d456ab7a39e81db266b5a591bab1c6a225757815..7542fb5c0cbb12f323575445940482cc26729eb1 100755 (executable)
@@ -54,7 +54,7 @@ if (ulimit -t 8); then ulimit -t 8; fi
 
 $ACLOCAL
 $AUTOCONF
-$AUTOMAKE -a -Wno-portability
+$AUTOMAKE -a
 
 ./configure
 
index 07d7a2411f63fb9c4621d2288d861eb345cdf121..1255f1189b2a25e58985a1b856098d615d11389b 100755 (executable)
@@ -32,4 +32,6 @@ ${ARCH}/%.$(OBJEXT): %.c
 EOF
 
 $ACLOCAL
-$AUTOMAKE -Wno-portability
+$AUTOMAKE
+
+:
index 7f5a32ec385538af65902cbc3876184339d16d18..903432fdec26acae112d27b4774f81e7435d02c1 100755 (executable)
@@ -31,7 +31,7 @@ AR += qq
 END
 
 $ACLOCAL
-AUTOMAKE_fails -Wno-portability
+AUTOMAKE_fails
 q="[\`'\"]"
 grep "^Makefile\.am:3:.* AR .* with $q=$q before .*$q+=$q" stderr