From 3dde37cdcfa1655778b227c1f2fabf28f37d2e43 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 5 Feb 2006 09:56:44 +0000 Subject: [PATCH] * 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. --- ChangeLog | 9 +++++++++ tests/convenience.at | 5 +++++ tests/deplibs-ident.at | 1 + tests/duplicate_members.at | 1 + tests/fail.at | 1 + tests/inherited_flags.at | 1 + tests/link-order.at | 1 + tests/stresstest.at | 1 + tests/template.at | 2 ++ 9 files changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index 445c73af8..53ef97b74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-02-05 Ralf Wildenhues + + * 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 * tests/fail.at: Also pass a bogus object file to the linker so diff --git a/tests/convenience.at b/tests/convenience.at index 11e7eb704..a1c4f9212 100644 --- a/tests/convenience.at +++ b/tests/convenience.at @@ -22,6 +22,7 @@ # - with or without additional objects on the cmdline AT_SETUP([C convenience archives]) +AT_KEYWORDS([libtool]) cat >main1.c <main1.cpp <main1.f <main1.f <foo1.java < c/libcee.c diff --git a/tests/duplicate_members.at b/tests/duplicate_members.at index 60ff3dc3b..3d201e35a 100755 --- a/tests/duplicate_members.at +++ b/tests/duplicate_members.at @@ -18,6 +18,7 @@ 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 diff --git a/tests/fail.at b/tests/fail.at index 5934315a0..edc8702ad 100644 --- a/tests/fail.at +++ b/tests/fail.at @@ -20,6 +20,7 @@ # 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" diff --git a/tests/inherited_flags.at b/tests/inherited_flags.at index 11b321c20..07d9fd0a4 100644 --- a/tests/inherited_flags.at +++ b/tests/inherited_flags.at @@ -18,6 +18,7 @@ AT_SETUP([inherited_linker_flags]) +AT_KEYWORDS([libtool]) AT_DATA([foo.c], [ diff --git a/tests/link-order.at b/tests/link-order.at index 151cf4a5a..f586e6bde 100644 --- a/tests/link-order.at +++ b/tests/link-order.at @@ -19,6 +19,7 @@ # 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 diff --git a/tests/stresstest.at b/tests/stresstest.at index b3c8fbbf0..af06d251a 100644 --- a/tests/stresstest.at +++ b/tests/stresstest.at @@ -22,6 +22,7 @@ # 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)='` diff --git a/tests/template.at b/tests/template.at index 3ba33b25a..a45c73b1e 100644 --- a/tests/template.at +++ b/tests/template.at @@ -22,6 +22,7 @@ AT_BANNER([C++ template tests.]) AT_SETUP([simple template test]) LT_AT_TAG([CXX]) +AT_KEYWORDS([libtool]) AT_DATA(aclib.h, [[int cf(int); @@ -114,6 +115,7 @@ AT_CLEANUP AT_SETUP([template test with subdirs]) LT_AT_TAG([CXX]) +AT_KEYWORDS([libtool]) CPPFLAGS="$CPPFLAGS -I../src/lib -I../src/lib2" mkdir src obj -- 2.47.3