diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2014-12-27 15:49:36 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2014-12-27 16:19:37 +0100 |
commit | cd040965d51f9818c56a714efaaaa699eb93b503 (patch) | |
tree | 6eab2d81e957f93bc095cd1fcc316dd0f035f384 /t/txinfo-override-texinfo-tex.sh | |
parent | b9303ccf7f3c13fd9422b3457f3ffd20ad300ce3 (diff) | |
download | automake-cd040965d51f9818c56a714efaaaa699eb93b503.tar.gz |
tests: fix spurious failure in test on TEXINFO_TEX overriding
* t/txinfo-override-texinfo-tex.sh: Here. The issue was pre-existing, but
has been only recently exposed by the fix for automake bug#18286 "distcheck
fails to detect missing files" (see commit v1.14.1-4-g01a7a4a) and by the
BSD make semantics. To convince yourself this change actually makes sense
semantically, see https://sourceware.org/ml/binutils/2012-06/msg00004.html
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/txinfo-override-texinfo-tex.sh')
-rw-r--r-- | t/txinfo-override-texinfo-tex.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/txinfo-override-texinfo-tex.sh b/t/txinfo-override-texinfo-tex.sh index 72bf834e2..c03dd3947 100644 --- a/t/txinfo-override-texinfo-tex.sh +++ b/t/txinfo-override-texinfo-tex.sh @@ -30,12 +30,13 @@ AC_OUTPUT END cat > Makefile.am << 'END' -TEXINFO_TEX = $(srcdir)/tex/texinfo.tex +TEXINFO_TEX = ../tex/texinfo.tex info_TEXINFOS = main.texi sure_it_exists: - test -f $(TEXINFO_TEX) + test -f $(srcdir)/$(TEXINFO_TEX) sure_it_is_not_distributed: distdir test ! -f $(distdir)/tex/texinfo.tex +check-local: sure_it_exists END cat > main.texi << 'END' @@ -61,7 +62,6 @@ test -f tex/texinfo.tex ./configure -$MAKE sure_it_exists $MAKE distcheck $MAKE sure_it_is_not_distributed |