diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-11-24 14:32:06 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-11-24 14:34:59 +0100 |
commit | a55591f32d816db41335835eb8bc92aa4d5c5267 (patch) | |
tree | 87a9060e9acfe1c938045022f5abcba773439679 /t/add-missing-multiple.sh | |
parent | fe1625a4b00b402d6333be0d7999a41ed4983204 (diff) | |
download | automake-a55591f32d816db41335835eb8bc92aa4d5c5267.tar.gz |
tests: give some tests more significant names
* t/req.sh: Rename ...
* t/aclocal-req.sh: ... like this.
* t/reqd.sh: Rename ...
* t/add-missing-multiple.sh: ... like this.
* t/block.sh: Rename ...
* t/comment-block.sh: ... like this.
* t/list-of-tests.mk: Adjust.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/add-missing-multiple.sh')
-rwxr-xr-x | t/add-missing-multiple.sh | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/t/add-missing-multiple.sh b/t/add-missing-multiple.sh new file mode 100755 index 000000000..a817d5b12 --- /dev/null +++ b/t/add-missing-multiple.sh @@ -0,0 +1,47 @@ +#! /bin/sh +# Copyright (C) 2002-2012 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 +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# Make sure Automake will install several copies of required files if needed. +# Reported by Marius Vollmer. + +. test-init.sh + +cat >> configure.ac <<EOF +AC_CONFIG_FILES([one/Makefile two/Makefile]) +AC_OUTPUT +EOF + +mkdir one +mkdir two + +echo 'SUBDIRS = one two' > Makefile.am +echo 'info_TEXINFOS = mumble.texi' > one/Makefile.am +cat >one/mumble.texi <<'END' +@setfilename mumble.info +@include version.texi +END + +cp one/Makefile.am one/mumble.texi two + +$ACLOCAL +$AUTOMAKE --add-missing --copy + +test -f one/mdate-sh +test -f one/texinfo.tex +test -f two/mdate-sh +test -f two/texinfo.tex + +: |