From: Ralf Wildenhues Date: Fri, 6 Aug 2010 22:23:22 +0000 (+0200) Subject: Skip part of versioning test on AIX. X-Git-Tag: v2.4~83 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=7406192d816ba37437c6463011fec47147c9aee3;p=thirdparty%2Flibtool.git Skip part of versioning test on AIX. * tests/versioning.at (versioning): The AIX linker always records the unversioned library name, even with runtimelinking, so skip the execution test for the incompatibly upgraded library. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 092dcee6d..2e8aa6256 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-08-21 Ralf Wildenhues + Skip part of versioning test on AIX. + * tests/versioning.at (versioning): The AIX linker always + records the unversioned library name, even with runtimelinking, + so skip the execution test for the incompatibly upgraded + library. + Report by Rainer Tammer. + Remove dead code from versioning test. * tests/versioning.at (versioning): No need to build unused prog3. diff --git a/tests/versioning.at b/tests/versioning.at index eef7c4a5f..1d75f6283 100644 --- a/tests/versioning.at +++ b/tests/versioning.at @@ -24,7 +24,7 @@ AT_SETUP([versioning]) AT_KEYWORDS([libtool]) -eval "`$LIBTOOL --config | $EGREP '^(objdir)='`" +eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`" # Setup some library and program sources: # a library (a1), a new revision (a2), a compatible update (a3), @@ -227,6 +227,11 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba4.lo ]dnl # available, so test_uninstalled will not necessarily work here any more. AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore]) + +# This test does not work on AIX, not even with runtimelinking, because +# the linker always records the unversioned name as dependency. +AT_CHECK([:; case $host_os in aix*) exit 77;; esac]) + test_installed