summaryrefslogtreecommitdiff
path: root/tests/list-of-tests.mk
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-03-26 15:26:46 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-03-27 15:23:01 +0200
commit6805810d314e2b4ecb8ff14e04779d8f0ad2b4f8 (patch)
tree180d139f129e5715de118ee8dc1748c668138261 /tests/list-of-tests.mk
parent619c1b265564ba2aac50004dec9761df567c69b3 (diff)
downloadautomake-6805810d314e2b4ecb8ff14e04779d8f0ad2b4f8.tar.gz
tests: workaround for automatic linker determination and conditionals
See automake bug#11089. Automake is not very smart in automatically determining the command to be used to link a program whose source files' languages are conditionally defined. For example, an input like: if HAVE_CXX foo_SOURCES = more.c++ else foo_SOURCES = less.c endif will cause the build rules for 'foo' to *unconditionally* use the C++ compiler for linking, even when the 'HAVE_CXX' conditional evaluates to false (which might mean that no C++ compiler is available). This behaviour is not really correct, but it's easy enough to work around, and it's only relevant for fringe use cases (at best). So let's just test that the workaround really works. * tests/link_cond.test: New test. * tests/list-of-tests.mk: Add it. * THANKS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'tests/list-of-tests.mk')
-rw-r--r--tests/list-of-tests.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/list-of-tests.mk b/tests/list-of-tests.mk
index 819cd06de..2548174df 100644
--- a/tests/list-of-tests.mk
+++ b/tests/list-of-tests.mk
@@ -553,6 +553,7 @@ libtoo11.test \
license.test \
license2.test \
link_c_cxx.test \
+link_cond.test \
link_dist.test \
link_f90_only.test \
link_fc.test \