Hash :
31bbce9e
Author :
Date :
2011-08-19T13:07:29
testsuite: various fixlets and tweakings * tests/seenc.test: Make grepping of automake stderr stricter. Add a trailing `:' command. * tests/symlink.test: Likewise. Also, define `$am_create_testdir' to "empty" to avoid bringing in unused auxiliary files (only to have to remove them right away), and use proper m4 quoting in `configure.in'. * tests/vpath.test: Make grepping of generated `Makefile.in' slightly stricter. Prefer trailing `:' over trailing `Exit 0'. * tests/suffix6c.test: Unset OBJEXT to avoid interferences from the environment. * tests/suffix12.test: Do not whitespace-indent `##' comments when they are embedded in a makefile rule: having them indented is not part of the Automake API, and might cause failures with e.g., Tru64 make. * tests/syntax.test: Simplify the `Makefile.am' to ensure that automake doesn't fail for the wrong reasons. Make grepping of automake stderr slightly stricter. * tests/test-harness-vpath-rewrite.test: Remove useless variable definition from `Makefile.am'. * tests/test-driver-custom-multitest.test: Fix typo in comments. * tests/self-check-me.tap: Fix minor typo in test description. * tests/vars3.test: Make grepping of automake stderr stricter and safer. * tests/version6.test: Add sanity check, verifying that the version number extracted from `automake --version' output seems legit. * tests/auxdir2.test: Renamed ... * tests/auxdir-compauted.tap: ... to this, and converted to the use of TAP. * tests/auxdir4.test: Renamed ... * tests/auxdir-unportable.tap: ... to this, and converted to the use of TAP. * tests/auxdir3.test: Renamed ... * tests/auxdir-misplaced.test: ... to this. * tests/auxdir5.test: Renamed ... * tests/auxdir-nonexistent.test: ... to this. * tests/auxdir9.test: Renamed ... * tests/auxdir-autodetect.test: ... to this. * tests/Makefile.am (TESTS): Update. (XFAIL_TESTS): Remove `auxdir2.test'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
#! /bin/sh
# Copyright (C) 2001, 2002, 2004, 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
# 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/>.
# It should be possible to use a computed auxdir. This might seem
# bizarre, but it is actually used in multilib builds.
. ./defs || Exit 1
plan_ 3
cat > configure.in <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([\$foo])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
END
: > Makefile.am
command_ok_ "aclocal" $ACLOCAL
# Both these two invocations are meant.
# They exercise both code paths concerning auxiliary files.
command_ok_ "automake -a" -D TODO -r "long-standing limitation" $AUTOMAKE -a
command_ok_ "automake" -D TODO -r "long-standing limitation" $AUTOMAKE
: