summaryrefslogtreecommitdiff
path: root/tests/inherited_flags.at
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2005-11-14 22:19:40 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2005-11-14 22:19:40 +0000
commitbbfe62c66929cff4a8f9622df9897abcdbf49dd5 (patch)
treea96921f4d99e1d059aa8f505d831cf04cc3d4831 /tests/inherited_flags.at
parent7f20fac17f5af959a2da4defb315f5fb0138b81b (diff)
downloadlibtool-bbfe62c66929cff4a8f9622df9897abcdbf49dd5.tar.gz
Testsuite portability update round.
* tests/inherited_flags: skip when shared libs are disabled. * tests/deplibs-ident.at [ aix ]: No unexpected failure here. * tests/libtoolize.at: Fix for distcheck (readonly sources). * tests/nonrecursive.at, tests/recursive.at, tests/subproject.at (foo.c): Actually export a symbol, for AIX. * tests/old-m4-iface.at: Use AC_LIBTOOL_DLOPEN, for AIX. * tests/nonrecursive.at: Set foo_la_SOURCES, for automake-1.7. * tests/subproject.at: Require automake-1.9, we use indirect subdirs. * tests/am-subdir.at: Move AT_KEYWORDS settings.. * tests/testsuite.at: ..here, in respective macros. (LT_AT_AUTOMAKE): Skip if we detect failure due to old version. (PREPARE_TESTS): Set autotool variables to `no' if not present. (LT_AT_ACLOCAL, LT_AT_AUTOCONF, LT_AT_AUTOMAKE) (LT_AT_AUTOHEADER, LT_AT_AUTORECONF): Use to XFAIL tests. Reported by Tim Rice <tim@multitalents.net>. (LT_AT_MAKE): Do not use `make -e'. (_LTDL_PROJECT_FILES): Adjust sub-make call. Work around `make' which does not set `MAKE' or `SHELL'. Fix for user-set `CONFIG_SHELL'. Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
Diffstat (limited to 'tests/inherited_flags.at')
-rw-r--r--tests/inherited_flags.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/inherited_flags.at b/tests/inherited_flags.at
index e2d97e0b..11b321c2 100644
--- a/tests/inherited_flags.at
+++ b/tests/inherited_flags.at
@@ -61,6 +61,7 @@ AT_CHECK([${LIBTOOL} --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libbaz.la baz.
# 'llt_[[ui]]nlikely_existing_lib.*llt_[[ui]]nlikely_existing_lib'
# here. This fails on win32/MSVC because the generated command lines have a
# different syntax. So drop the first `l'.
+AT_CHECK([${LIBTOOL} --features | grep 'disable shared libraries' && (exit 77)], [1], [ignore])
AT_CHECK([grep 'lt_[[ui]]nlikely_existing_lib.*lt_[[ui]]nlikely_existing_lib' stdout],
[0],[ignore],[ignore])
AT_CHECK([${LIBTOOL} --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o main main.lo -no-undefined -rpath /usr/local/lib ./libfoo.la ./libbar.la],