bind9/tests
Michał Kępień c2dcd055fe
Include <inttypes.h> whenever including <cmocka.h>
Development versions of cmocka require the intmax_t and uintmax_t types
to be defined by the time the test code includes the <cmocka.h> header.
These types are defined in the <stdint.h> header, which is included by
the <inttypes.h> header, which in turn is already explicitly included by
some of the programs in the tests/ directory.  Ensure all programs in
that directory that include the <cmocka.h> header also include the
<inttypes.h> header to future-proof the code while keeping the change
set minimal and the resulting code consistent.  Also prevent explicitly
including the <stdint.h> header in those programs as it is included by
the <inttypes.h> header.
2023-05-18 15:12:23 +02:00
..
bench Get the tests working with liburcu 2023-05-12 20:48:31 +01:00
dns Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
include/tests Always initialize the workers in the libtest 2023-04-21 09:04:24 +02:00
irs Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
isc Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
isccfg Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
libtest Fixes for liburcu-qsbr 2023-05-15 20:49:42 +00:00
ns Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +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 Use SIGABRT rather than SIGKILL for long running unit test 2023-04-14 15:40:02 +10:00