bind9/tests
Ondřej Surý f5c204ac3e
Move the library init and shutdown to executables
Instead of relying on unreliable order of execution of the library
constructors and destructors, move them to individual binaries.  The
advantage is that the execution time and order will remain constant and
will not depend on the dynamic load dependency solver.

This requires more work, but that was mitigated by a simple requirement,
any executable using libisc and libdns, must include <isc/lib.h> and
<dns/lib.h> respectively (in this particular order).  In turn, these two
headers must not be included from within any library as they contain
inlined functions marked with constructor/destructor attributes.
2025-02-22 16:19:00 +01:00
..
bench Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
dns Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
include/tests Extend ISC_TEST_MAIN for debugging 2024-08-22 09:54:39 +10:00
isc Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
isccfg Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
libtest clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
ns Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Move resconf_test.c to tests/dns and cleanup 2024-12-12 22:16:36 +00:00
unit-test-driver.sh.in Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00