libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tests: avoid getopt-m4sh failures when autom4te is not available.


From: Ralf Wildenhues
Subject: tests: avoid getopt-m4sh failures when autom4te is not available.
Date: Mon, 30 Aug 2010 22:52:44 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

See testsuite failures 1-5 here:
http://autobuild.josefsson.org/libtool/log-201008291512287320000.txt
I'm applying an obvious fix:

Cheers,
Ralf

    tests: avoid getopt-m4sh failures when autom4te is not available.
    
    * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP):
    Check $M4SH --version, skip on failure.

diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index d2df827..1c2ac26 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -48,6 +48,7 @@ M4SH_GETOPTS(
 ]])
 m4_pattern_forbid([m4_include])
 m4_pattern_forbid([AS_INIT])
+AT_CHECK([$M4SH --version || exit 77], [], [ignore], [ignore])
 AT_CHECK([$M4SH -B $abs_top_srcdir/libltdl/config options.m4sh > t-options],
         [], [], [], [AT_CHECK([test $at_status -eq 63 && exit 77])])
 $SED "s,@LN_S\@,$LN_S,g;s,@SED\@,$SED,g" t-options > options



reply via email to

[Prev in Thread] Current Thread [Next in Thread]