diff options
author | Eric Blake <eblake@redhat.com> | 2010-09-13 10:02:50 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-09-13 10:08:58 -0600 |
commit | d8e7417c137aa0535754b2e8ce5f5cbae2e6a7c0 (patch) | |
tree | e5efedb6eef3636075686e93dd885b0f89202845 /tests/tools.at | |
parent | b8e54a39f0827a829f69cb869450efc6d3716084 (diff) | |
download | autoconf-d8e7417c137aa0535754b2e8ce5f5cbae2e6a7c0.tar.gz |
tests: skip broken automake wrapper on MirBSD
On a fresh default install, MirBSD ships with an automake wrapper
script that has bad behavior:
$ automake --version; echo $?
Provide an AUTOMAKE_VERSION environment variable, please
0
* tests/tools.at (autom4te preselections): Skip, rather than fail,
if 'automake --version' succeeds without printing a version when
an environment variable is not set.
* tests/torture.at (Configuring subdirectories)
(Unusual Automake input files): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/tools.at')
-rw-r--r-- | tests/tools.at | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tools.at b/tests/tools.at index 167d68a8..bd50a643 100644 --- a/tests/tools.at +++ b/tests/tools.at @@ -1164,8 +1164,9 @@ AT_SETUP([autom4te preselections]) # If this test should run on FAT file systems and older w32, # then setting $sleep correctly needs to be revisited. -# We use aclocal and automake. -AT_CHECK([automake --version || exit 77], [], [ignore], [ignore]) +# We use aclocal and automake. Skip broken automake wrappers. +AT_CHECK([automake --version || exit 77], [], [stdout], [ignore]) +AT_CHECK([[grep '[1-9]\.[0-9][0-9]*' stdout || exit 77]], [], [ignore]) AT_CHECK([test ! -f $HOME/.autom4te.cfg || exit 77], [], [ignore], [ignore]) AT_DATA([configure.in], |