[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {master} tests: a test about warnings in category 'obsolete' was f
From: |
Stefano Lattarini |
Subject: |
[FYI] {master} tests: a test about warnings in category 'obsolete' was failing spuriously |
Date: |
Fri, 28 Dec 2012 21:40:46 +0100 |
* t/warnings-obsolete-default.sh : After our removal of $(INCLUDES)
support, this test has been spuriously failing because it was assuming
that a definition of the INCLUDES make variable only caused a warning
rather than a fatal error. Fix it to use a definition of the newly
obsolescent ACLOCAL_AMFLAGS make variable.
Signed-off-by: Stefano Lattarini <address@hidden>
---
t/warnings-obsolete-default.sh | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/t/warnings-obsolete-default.sh b/t/warnings-obsolete-default.sh
index 7fbb1bc..ac3a27d 100755
--- a/t/warnings-obsolete-default.sh
+++ b/t/warnings-obsolete-default.sh
@@ -22,16 +22,11 @@
# We want (almost) complete control over automake options.
AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror"
-echo AC_PROG_CC >> configure.ac
-
-cat > Makefile.am <<'END'
-bin_PROGRAMS = foo
-INCLUDES = -Ibar
-END
+echo ACLOCAL_AMFLAGS = > Makefile.am
$ACLOCAL
AUTOMAKE_fails
-grep '^Makefile\.am:2:.*INCLUDES.*AM_CPPFLAGS' stderr
+grep '^Makefile\.am:1:.*ACLOCAL_AMFLAGS.*deprecated' stderr
# Check that we can override warnings about obsolete stuff.
$AUTOMAKE -Wno-obsolete
--
1.8.0.1.409.g252f922
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {master} tests: a test about warnings in category 'obsolete' was failing spuriously,
Stefano Lattarini <=