This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Libtool".
The branch, master has been updated via 9e0722e8dff36e4540d3e3335ea3a10be5c0688d (commit) via 67a761c3f073a8a29020376fb1d252621ad07b22 (commit) via 730c1343a462ec5a1dde9a15c19459afaf85fdee (commit) from e91e2dec63d75804dd922f6c14af6df8b0f7dde5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9e0722e8dff36e4540d3e3335ea3a10be5c0688d Author: Ralf Wildenhues <ralf.wildenh...@gmx.de> Date: Mon Aug 30 23:04:03 2010 +0200 tests: skip -Wall -Werror with Tru64 cc in cwrapper test. * tests/cwrapper.at (cwrapper for uninstalled executables): Use a link test rather than a compile test to flesh out unknown compiler flags starting with -W; Tru64/OSF1 cc will happily accept `-Wall -Werror' as indication to pass flags on to subprocesses. Signed-off-by: Ralf Wildenhues <ralf.wildenh...@gmx.de> commit 67a761c3f073a8a29020376fb1d252621ad07b22 Author: Ralf Wildenhues <ralf.wildenh...@gmx.de> Date: Mon Aug 30 22:51:02 2010 +0200 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.wildenh...@gmx.de> commit 730c1343a462ec5a1dde9a15c19459afaf85fdee Author: Ralf Wildenhues <ralf.wildenh...@gmx.de> Date: Mon Aug 30 22:42:11 2010 +0200 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 the failure shows up on systems other than Solaris. Mark test as expected to fail. Suggested by Bob Friesenhahn. Signed-off-by: Ralf Wildenhues <ralf.wildenh...@gmx.de> ----------------------------------------------------------------------- Summary of changes: ChangeLog | 20 ++++++++++++++++++++ tests/cwrapper.at | 14 +++++++------- tests/getopt-m4sh.at | 1 + tests/lalib-syntax.at | 9 +++++++-- 4 files changed, 35 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60a2297..5d7a1dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2010-08-30 Ralf Wildenhues <ralf.wildenh...@gmx.de> + + tests: skip -Wall -Werror with Tru64 cc in cwrapper test. + * tests/cwrapper.at (cwrapper for uninstalled executables): + Use a link test rather than a compile test to flesh out unknown + compiler flags starting with -W; Tru64/OSF1 cc will happily + accept `-Wall -Werror' as indication to pass flags on to + subprocesses. + + 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 + the failure shows up on systems other than Solaris. Mark test + as expected to fail. + Suggested by Bob Friesenhahn. + 2010-08-30 Eric Blake <ebl...@redhat.com> Simplify recent configure quoting portability workaround. diff --git a/tests/cwrapper.at b/tests/cwrapper.at index babd91e..248c0c0 100644 --- a/tests/cwrapper.at +++ b/tests/cwrapper.at @@ -1,6 +1,6 @@ # cwrapper.at -- test cwrapper compliance with standards -*- Autotest -*- -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # Written by Charles Wilson, 2009 # # This file is part of GNU Libtool. @@ -61,10 +61,10 @@ for restrictive_flags in '-Wall -Werror' '-std=c89 -Wall -Werror' '-std=c99 -Wal chmod +x libtool LIBTOOL=./libtool - # make sure $restrictive_flags do not cause a failure + # Make sure $restrictive_flags do not cause a failure # themselves (e.g. because a non-gcc compiler doesn't - # understand them) - $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c trivial.c || continue + # understand them). Tru64 cc only fails when linking. + $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS trivial.c || continue AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c], [], [ignore], [ignore]) @@ -111,10 +111,10 @@ for debugwrapper_flags in '-DLT_DEBUGWRAPPER'; do < "$orig_LIBTOOL" > ./libtool LIBTOOL=./libtool - # make sure $debugwrapper_flags do not cause a failure + # Make sure $debugwrapper_flags do not cause a failure # themselves (e.g. because a non-gcc compiler doesn't - # understand them) - $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c trivial.c || continue + # understand them). Tru64 cc only fails when linking. + $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS trivial.c || continue AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c], [], [ignore], [ignore]) 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 diff --git a/tests/lalib-syntax.at b/tests/lalib-syntax.at index c412d54..0f78ca8 100644 --- a/tests/lalib-syntax.at +++ b/tests/lalib-syntax.at @@ -1,6 +1,6 @@ # lalib-syntax.at -- parsing .la files robustly -*- Autotest -*- # -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # # This file is part of GNU Libtool. # @@ -25,9 +25,12 @@ AT_SETUP([syntax of .la files]) AT_KEYWORDS([libtool]) AT_KEYWORDS([libltdl]) +AT_XFAIL_IF([:]) dnl libltdl does not consistently return non-NULL lt_dlerror + AT_DATA([main.c], [[#include <ltdl.h> #include <stdio.h> +#include <assert.h> int main (int argc, char* argv[]) @@ -50,7 +53,9 @@ main (int argc, char* argv[]) } else { - printf ("plugin failed to open: %s\n", lt_dlerror()); + const char *error = lt_dlerror (); + assert (error != NULL); + printf ("plugin failed to open: %s\n", error); err = 1; } lt_dlexit (); hooks/post-receive -- GNU Libtool