bind9/tests
Evan Hunt 63659e2e3a
complete removal of isc_loop_current()
isc_loop() can now take its place.

This also requires changes to the test harness - instead of running the
setup and teardown outside of th main loop, we now schedule the setup
and teardown to run on the loop (via isc_loop_setup() and
isc_loop_teardown()) - this is needed because the new the isc_loop()
call has to be run on the active event loop, but previously the
isc_loop_current() (and the variants like isc_loop_main()) would work
even outside of the loop because it needed just isc_tid() to work, but
not the full loop (which was mainly true for the main thread).
2024-04-02 10:35:56 +02:00
..
bench use a thread-local variable to get the current running loop 2024-04-02 10:35:56 +02:00
dns use a thread-local variable to get the current running loop 2024-04-02 10:35:56 +02:00
include/tests complete removal of isc_loop_current() 2024-04-02 10:35:56 +02:00
irs Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
isc complete removal of isc_loop_current() 2024-04-02 10:35:56 +02:00
isccfg Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
libtest use a thread-local variable to get the current running loop 2024-04-02 10:35:56 +02:00
ns Change dns_message_create() function to accept memory pools 2023-09-24 18:07:40 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
unit-test-driver.sh.in Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00