From: Gary V. Vaughan Date: Thu, 1 Jul 2010 03:44:12 +0000 (+0700) Subject: Skip `enhanced shell option appending' test when not available. X-Git-Tag: v2.4~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57a4a21e9c6b0d83fb947121d0bb55799cb569cd;p=thirdparty%2Flibtool.git Skip `enhanced shell option appending' test when not available. * tests/getopt-m4sh.at [enhanced shell option appending]: _LT_AT_XSI_FUNC_EXTRACT will not be able to find the enhanced libtool func_append function if the replacement wasn't substituted by configure, since the decorator comments will be different - in that case simply skip the test. Signed-off-by: Gary V. Vaughan --- diff --git a/ChangeLog b/ChangeLog index e9ca7a83f..0bce7998b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-07-01 Gary V. Vaughan + + Skip `enhanced shell option appending' test when not available. + * tests/getopt-m4sh.at [enhanced shell option appending]: + _LT_AT_XSI_FUNC_EXTRACT will not be able to find the enhanced + libtool func_append function if the replacement wasn't substituted + by configure, since the decorator comments will be different - in + that case simply skip the test. + 2010-06-30 Gary V. Vaughan Add func_append test cases for smart and retarded implementations. diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at index 572522a6d..8373c8e61 100644 --- a/tests/getopt-m4sh.at +++ b/tests/getopt-m4sh.at @@ -170,6 +170,9 @@ AT_CLEANUP AT_SETUP([enhanced shell option appending]) +# Don't bother with additional += check unless functions were substituted +AT_CHECK([fgrep '# XSI func_append ' $abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)]) + AT_DATA(expout, [[first --append second third