+2006-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * tests/convenience.at, tests/deplibs-ident.at: Add new keyword
+ `libtool' for tests that exercise the unmodified `libtool'
+ script that is generated at build time.
+ * tests/duplicate_members.at, tests/fail.at: Likewise.
+ * tests/inherited_flags.at, tests/link-order.at: Likewise.
+ * tests/stresstest.at, tests/template.at: Likewise.
+
2006-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/fail.at: Also pass a bogus object file to the linker so
# - with or without additional objects on the cmdline
AT_SETUP([C convenience archives])
+AT_KEYWORDS([libtool])
cat >main1.c <<EOF
extern int a1(void);
AT_SETUP([C++ convenience archives])
LT_AT_TAG([CXX])
+AT_KEYWORDS([libtool])
cat >main1.cpp <<EOF
extern int a1(void);
AT_SETUP([F77 convenience archives])
LT_AT_TAG([F77])
+AT_KEYWORDS([libtool])
cat >main1.f <<EOF
program main
AT_SETUP([FC convenience archives])
LT_AT_TAG([FC])
+AT_KEYWORDS([libtool])
cat >main1.f <<EOF
program main
AT_SETUP([Java convenience archives])
LT_AT_TAG([GCJ])
+AT_KEYWORDS([libtool])
cat >foo1.java <<EOF
public class foo1 {
## ----------------------------------------------- ##
AT_SETUP([build tree relpaths])
+AT_KEYWORDS([libtool])
mkdir a a/b c
echo 'int c() { return 0; }' > c/libcee.c
AT_BANNER([Testing libtool functions.])
AT_SETUP([duplicate members in archive tests])
+AT_KEYWORDS([libtool])
# we don't want to use whole_archive_flag_spec, even if available
sed -e 's|^whole_archive_flag_spec=.*|whole_archive_flag_spec=|g' < $LIBTOOL > libtool
# TODO: many possible failure cases missing. (But how to simulate a full disk?)
AT_SETUP([Failure tests])
+AT_KEYWORDS([libtool])
eval `$LIBTOOL --config | $EGREP '^(pic_mode|pic_flag|build_old_libs|build_libtool_libs)='`
LDFLAGS="$LDFLAGS -no-undefined"
AT_SETUP([inherited_linker_flags])
+AT_KEYWORDS([libtool])
AT_DATA([foo.c],
[
# link-order.test - make sure that library linking order matches
AT_SETUP([Link order test.])
+AT_KEYWORDS([libtool])
LDFLAGS="$LDFLAGS -no-undefined"
prefix_old=`pwd`/old
# Note: This test is experimental, and might be too strict for some systems.
AT_BANNER([Libtool stress test.])
+AT_KEYWORDS([libtool])
AT_SETUP([Link option thorough search test])
eval `$LIBTOOL --config | $EGREP '^(CC|objdir|allow_undefined_flag)='`
AT_SETUP([simple template test])
LT_AT_TAG([CXX])
+AT_KEYWORDS([libtool])
AT_DATA(aclib.h,
[[int cf(int);
AT_SETUP([template test with subdirs])
LT_AT_TAG([CXX])
+AT_KEYWORDS([libtool])
CPPFLAGS="$CPPFLAGS -I../src/lib -I../src/lib2"
mkdir src obj