]> git.ipfire.org Git - thirdparty/bind9.git/commit
Tweak lib/dns/tests/tkey_test requirements
authorMichał Kępień <michal@isc.org>
Thu, 12 Sep 2019 12:25:57 +0000 (14:25 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 12 Sep 2019 12:25:57 +0000 (14:25 +0200)
commit154f2ca6f6b3c01679e4cdb61ab70ff4eb050fba
treec1865c6f0af7aeb4f46a874f411e5db738983b99
parent119f3e0c2e5a9f1a09ac577745a0e0fdaad6a62a
Tweak lib/dns/tests/tkey_test requirements

Currently, the lib/dns/tests/tkey_test unit test is only run when the
linker supports the --wrap option.  However, linker support for that
option is only needed for static builds.  As a result, the unit test
mentioned before is not being run everywhere it can be run as even for
builds done using --with-libtool, the test is not run unless the linker
supports the --wrap option.

Tweak preprocessor directives in lib/dns/tests/tkey_test.c so that this
test is run:

  - for all builds using --with-libtool,
  - for static builds done using a linker supporting the --wrap option.
lib/dns/tests/tkey_test.c