]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Skip part of versioning test on AIX.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 6 Aug 2010 22:23:22 +0000 (00:23 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 21 Aug 2010 08:12:55 +0000 (10:12 +0200)
* 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>
ChangeLog
tests/versioning.at

index 092dcee6d7d58c33a8ec2232f36a2978e9b0ffb8..2e8aa62567fa421932e656f1018c78367eebb974 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index eef7c4a5f95c5de2222d27643508ec441348f86c..1d75f628326032a8b43db4a0561281f58234bf3f 100644 (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