From: Stefano Lattarini Date: Sat, 22 Jan 2011 12:32:14 +0000 (+0100) Subject: tests: fix spurious failures in yflags*.test X-Git-Tag: ylwrap-refactor-abandoned-branch~66^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c876b0e062a41150a667470e250794efed83f721;p=thirdparty%2Fautomake.git tests: fix spurious failures in yflags*.test * tests/yflags.test: Remove 'YACC' from the environment, so that it won't be erroneously picked up by `make -e'. * tests/yflags2.test: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 98e5792cb..d581625d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-01-22 Stefano Lattarini + + tests: fix spurious failures in yflags*.test + * tests/yflags.test: Remove 'YACC' from the environment, so + that it won't be erroneously picked up by `make -e'. + * tests/yflags2.test: Likewise. + 2010-06-21 Ralf Wildenhues Fix minor testsuite issues, update docs, for Yacc/Lex changes. diff --git a/tests/yflags.test b/tests/yflags.test index fcb0c64a9..dbc3a7390 100755 --- a/tests/yflags.test +++ b/tests/yflags.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2010 Free Software Foundation, Inc. +# Copyright (C) 2010, 2011 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,10 @@ echo 'extern int dummy;' >> y.tab.c END chmod a+x fake-yacc +# Remove Yacc from the environment, so that it won't interfere +# with `make -e' below. +unset YACC || : + cat >> configure.in <<'END' AC_PROG_CC # Simulate presence of Yacc using our fake-yacc script. diff --git a/tests/yflags2.test b/tests/yflags2.test index 346c2e4b3..02aed8dc6 100755 --- a/tests/yflags2.test +++ b/tests/yflags2.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2010 Free Software Foundation, Inc. +# Copyright (C) 2010, 2011 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -31,6 +31,10 @@ echo 'extern int dummy;' >> y.tab.c END chmod a+x fake-yacc +# Remove Yacc from the environment, so that it won't interfere +# with `make -e' below. +unset YACC || : + cat >> configure.in <<'END' AC_PROG_CXX # Simulate presence of Yacc using our fake-yacc script.