From: Ralf Wildenhues Date: Mon, 30 Aug 2010 20:51:02 +0000 (+0200) Subject: tests: avoid getopt-m4sh failures when autom4te is not available. X-Git-Tag: v2.4~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67a761c3f073a8a29020376fb1d252621ad07b22;p=thirdparty%2Flibtool.git 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. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 24d051b5a..6e5b2018c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-08-30 Ralf Wildenhues + 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. + tests: mark 'syntax of .la files' as XFAIL, expose failure. * tests/lalib-syntax.at (syntax of .la files): Assert that the string returned by lt_dlerror after a failure is non-NULL, so diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at index d2df82755..1c2ac2649 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