From: Stefano Lattarini Date: Tue, 12 Jun 2012 08:11:35 +0000 (+0200) Subject: tests: rename 'recurs*.sh' to 'var-recurs*.sh' X-Git-Tag: v1.12b~91^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=097930059adbd5061a5f78e2b91e339f91a32a18;p=platform%2Fupstream%2Fautomake.git tests: rename 'recurs*.sh' to 'var-recurs*.sh' * t/recurs.sh: Rename ... * t/var-recurs.sh: ... to this. * t/recurs2.sh: Rename ... * t/var-recurs2.sh: ... to this. * tests/list-of-tests.mk: Adjust. Signed-off-by: Stefano Lattarini --- diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk index e5c08a205..4b1682264 100644 --- a/t/list-of-tests.mk +++ b/t/list-of-tests.mk @@ -884,8 +884,6 @@ t/python-dist.sh \ t/python-vars.sh \ t/python-virtualenv.sh \ t/python-pr10995.sh \ -t/recurs.sh \ -t/recurs2.sh \ t/relativize.tap \ t/remake.sh \ t/remake1a.sh \ @@ -1202,6 +1200,8 @@ t/vala-mix2.sh \ t/vala-parallel.sh \ t/vars.sh \ t/vars3.sh \ +t/var-recurs.sh \ +t/var-recurs2.sh \ t/vartar.sh \ t/vartypos.sh \ t/vartypo2.sh \ diff --git a/t/recurs.sh b/t/recurs.sh deleted file mode 100755 index 6071e660f..000000000 --- a/t/recurs.sh +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/sh -# Copyright (C) 1998-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 . - -# Test to make sure recursive variable definitions die. - -. ./defs || exit 1 - -cat >> configure.ac << 'END' -AC_PROG_CC -END - -cat > Makefile.am << 'END' -bin_PROGRAMS = $(foo) -foo = $(bin_PROGRAMS) -END - -$ACLOCAL -AUTOMAKE_fails -grep 'Makefile\.am:.*bin_PROGRAMS.*recursively defined' stderr - -: diff --git a/t/recurs2.sh b/t/recurs2.sh deleted file mode 100755 index 0acdc2a0e..000000000 --- a/t/recurs2.sh +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/sh -# Copyright (C) 1998-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 . - -# Test to make sure recursive variable definitions die. -# From Jim Meyering. - -. ./defs || exit 1 - -cat > Makefile.am << 'END' -man_MANS = chgrp.1 -man_aux = $(man_MANS:.1=.x) -EXTRA_DIST = $(man_aux) $(man_MANS) -END - -$ACLOCAL -$AUTOMAKE - -: diff --git a/t/var-recurs.sh b/t/var-recurs.sh new file mode 100755 index 000000000..6071e660f --- /dev/null +++ b/t/var-recurs.sh @@ -0,0 +1,34 @@ +#! /bin/sh +# Copyright (C) 1998-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 . + +# Test to make sure recursive variable definitions die. + +. ./defs || exit 1 + +cat >> configure.ac << 'END' +AC_PROG_CC +END + +cat > Makefile.am << 'END' +bin_PROGRAMS = $(foo) +foo = $(bin_PROGRAMS) +END + +$ACLOCAL +AUTOMAKE_fails +grep 'Makefile\.am:.*bin_PROGRAMS.*recursively defined' stderr + +: diff --git a/t/var-recurs2.sh b/t/var-recurs2.sh new file mode 100755 index 000000000..0acdc2a0e --- /dev/null +++ b/t/var-recurs2.sh @@ -0,0 +1,31 @@ +#! /bin/sh +# Copyright (C) 1998-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 . + +# Test to make sure recursive variable definitions die. +# From Jim Meyering. + +. ./defs || exit 1 + +cat > Makefile.am << 'END' +man_MANS = chgrp.1 +man_aux = $(man_MANS:.1=.x) +EXTRA_DIST = $(man_aux) $(man_MANS) +END + +$ACLOCAL +$AUTOMAKE + +: