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 <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2010-08-07 00:23:22 +02:00
parent a31a28281b
commit 7406192d81
2 changed files with 13 additions and 1 deletions

View File

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

View File

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