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 <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2010-08-30 22:51:02 +02:00
parent 730c1343a4
commit 67a761c3f0
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2010-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
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

View File

@ -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