]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the way we use memory context from isctest.c
authorOndřej Surý <ondrej@sury.org>
Sat, 9 Nov 2019 13:01:08 +0000 (14:01 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 13 Nov 2019 13:47:47 +0000 (14:47 +0100)
commit8de64964a3bf1d573d8caa2f76efdd600bc87235
tree1930d2bc6b9a6b10eb88bbaaabe4efe62dc8f81e
parent229b7d85e866c48800dd7a0d7547842916084d28
Refactor the way we use memory context from isctest.c

This commit renames isctest {mctx,lctx} to test_{mctx,lctx} and cleans
up their usage in the individual unit tests.  This allows embedding
library .c files directly into the unit tests.
17 files changed:
lib/isc/tests/Makefile.in
lib/isc/tests/buffer_test.c
lib/isc/tests/counter_test.c
lib/isc/tests/heap_test.c
lib/isc/tests/ht_test.c
lib/isc/tests/isctest.c
lib/isc/tests/isctest.h
lib/isc/tests/lex_test.c
lib/isc/tests/mem_test.c
lib/isc/tests/pool_test.c
lib/isc/tests/radix_test.c
lib/isc/tests/random_test.c
lib/isc/tests/socket_test.c
lib/isc/tests/symtab_test.c
lib/isc/tests/task_test.c
lib/isc/tests/taskpool_test.c
lib/isc/tests/timer_test.c