bind9/bin/tests
Evan Hunt 25c9fb54da standardize CHECK and RETERR macros
previously, there were over 40 separate definitions of CHECK macros, of
which most used "goto cleanup", and the rest "goto failure" or "goto
out". there were another 10 definitions of RETERR, of which most were
identical to CHECK, but some simply returned a result code instead of
jumping to a cleanup label.

this has now been standardized throughout the code base: RETERR is for
returning an error code in the case of an error, and CHECK is for jumping
to a cleanup tag, which is now always called "cleanup". both macros are
defined in isc/util.h.

(cherry picked from commit 52bba5cc34)
2025-12-03 19:17:20 -08:00
..
startperf Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
system standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
.gitignore Move environment variables from conf.sh to pytest 2024-05-09 17:08:08 +02:00
convert-trs-to-junit.py Use :global-test-result: when converting trs file to JUnit XML 2025-06-26 17:05:20 +02:00
Makefile.am Fix JUnit test status generator for out-of-tree system tests 2022-09-22 15:20:23 +02:00
test_client.c TLS SNI - add low level support for SNI to the networking code 2024-12-26 18:31:03 +02:00
test_server.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
wire_test.c Finalize removal of memory debug flags size and mctx 2024-12-06 03:13:14 +00:00