From 67a761c3f073a8a29020376fb1d252621ad07b22 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 30 Aug 2010 22:51:02 +0200 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ tests/getopt-m4sh.at | 1 + 2 files changed, 5 insertions(+) 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 -- 2.47.3