Development version of BIND 9 - 9.21.10 with meson build system
Ondřej Surý
ondrej at isc.org
Mon Aug 18 13:24:08 UTC 2025
Hi Stacey,
I am not sure if I fully understand your question, but I'll try to answer...
> On 18. 8. 2025, at 15:17, Stacey Marshall <stacey.marshall at gmail.com> wrote:
>
> For production does the cmocka option need to be disabled, -Dcmocka=disabled?
> A cursory look suggests it is only used within the test code.
> I note that README.md suggests the option needs to be enabled to run the tests, so want to clarify;
> Perhaps it's this way for the development version (odd number).
cmocka is a test harness for running unit tests. Hence, it is only used in the unit tests
(that's also true for 9.18 and 9.20). As for the production - that doesn't really matter
as libcmocka is not linked to any of the product binaries, just the unit tests.
So, it is up to you as the package maintainer whether you want to run the unit tests
as part of the package building process.
As a matter of fact, I recently did that (with my Debian Developer hat on) for the Debian
packages and I've discovered some tests that need to be disabled on architectures with
small stack.
Ondrej
--
Ondřej Surý (He/Him)
ondrej at isc.org
My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.
More information about the bind-users
mailing list