[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [FYI 5/6] tests: don't disable portability warnings when t
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [FYI 5/6] tests: don't disable portability warnings when there's no need |
Date: |
Fri, 25 May 2012 02:16:25 +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 <address@hidden>
---
t/canon5.sh | 2 +-
t/extra11.sh | 2 --
t/library2.sh | 2 +-
t/parallel-tests-fork-bomb.sh | 2 +-
t/pattern-rules2.sh | 4 +++-
t/pluseq7.sh | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/t/canon5.sh b/t/canon5.sh
index 4b1b43d..8a3f427 100755
--- a/t/canon5.sh
+++ b/t/canon5.sh
@@ -52,6 +52,6 @@ bin_PROGRAMS = ,foo
_foo_SOURCES = foo.c
END
-$AUTOMAKE -Wno-portability
+$AUTOMAKE
:
diff --git a/t/extra11.sh b/t/extra11.sh
index eeec7cd..b97000d 100755
--- a/t/extra11.sh
+++ b/t/extra11.sh
@@ -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
diff --git a/t/library2.sh b/t/library2.sh
index dfa8758..42a7c62 100755
--- a/t/library2.sh
+++ b/t/library2.sh
@@ -27,5 +27,5 @@ EXTRA_LIBRARIES = libfoo.a
END
$ACLOCAL
-AUTOMAKE_fails -Wno-portability
+AUTOMAKE_fails -Wnone
grep AC_PROG_RANLIB stderr
diff --git a/t/parallel-tests-fork-bomb.sh b/t/parallel-tests-fork-bomb.sh
index d456ab7..7542fb5 100755
--- a/t/parallel-tests-fork-bomb.sh
+++ b/t/parallel-tests-fork-bomb.sh
@@ -54,7 +54,7 @@ if (ulimit -t 8); then ulimit -t 8; fi
$ACLOCAL
$AUTOCONF
-$AUTOMAKE -a -Wno-portability
+$AUTOMAKE -a
./configure
diff --git a/t/pattern-rules2.sh b/t/pattern-rules2.sh
index 07d7a24..1255f11 100755
--- a/t/pattern-rules2.sh
+++ b/t/pattern-rules2.sh
@@ -32,4 +32,6 @@ ${ARCH}/%.$(OBJEXT): %.c
EOF
$ACLOCAL
-$AUTOMAKE -Wno-portability
+$AUTOMAKE
+
+:
diff --git a/t/pluseq7.sh b/t/pluseq7.sh
index 7f5a32e..903432f 100755
--- a/t/pluseq7.sh
+++ b/t/pluseq7.sh
@@ -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
--
1.7.9.5
- [Automake-NG] [FYI 0/6] Some simple fixlets and cleanup patches, Stefano Lattarini, 2012/05/24
- [Automake-NG] [FYI 2/6] fixup: support verbatim lines only in private '.am' fragments, Stefano Lattarini, 2012/05/24
- [Automake-NG] [FYI 1/6] fixup: interaction between verbatim lines and line continuation, Stefano Lattarini, 2012/05/24
- [Automake-NG] [FYI 3/6] general: assume GNU make semantic in line continuation, Stefano Lattarini, 2012/05/24
- [Automake-NG] [FYI 5/6] tests: don't disable portability warnings when there's no need,
Stefano Lattarini <=
- [Automake-NG] [FYI 4/6] general: assume '#' comment in make recipes are ok, Stefano Lattarini, 2012/05/24
- [Automake-NG] [FYI 6/6] am: make function to canonicalize names, Stefano Lattarini, 2012/05/24