diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2002-06-08 17:22:28 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2002-06-08 17:22:28 +0000 |
commit | 788a63b300568b1c1876e4ad30b966df2f0710fc (patch) | |
tree | 6e8989d289b810de4cf844afed5cf8dadfc22cdb /tests/yacc7.test | |
parent | 7bb1f82b5e617bf24e6a511b4db1a375bf4d03e4 (diff) | |
download | automake-788a63b300568b1c1876e4ad30b966df2f0710fc.tar.gz |
* automake.in (lang_yacc_target_hook): Add rule to recover from
the removal of $header.
* lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
output by lang_yacc_target_hook).
* tests/yacc7.test: Try to recreate foo.h after its removal.
* tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
parse.h too.
Reported by Bernd Jendrissek.
Diffstat (limited to 'tests/yacc7.test')
-rwxr-xr-x | tests/yacc7.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/yacc7.test b/tests/yacc7.test index 7bd62748d..7b474a73f 100755 --- a/tests/yacc7.test +++ b/tests/yacc7.test @@ -45,4 +45,10 @@ test -f foo.h || exit 1 rm -f foo.h foo.c $MAKE check-dist || exit 1 +# We should be able to recover if foo.h is deleted. + +rm foo.h || exit 1 +$MAKE foo.h || exit 1 +test -f foo.h || exit 1 + exit 0 |