]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check for FEATURETEST before running pytest
authorNicki Křížek <nicki@isc.org>
Tue, 8 Jul 2025 14:14:15 +0000 (16:14 +0200)
committerNicki Křížek <nicki@isc.org>
Thu, 10 Jul 2025 15:13:05 +0000 (17:13 +0200)
commit927dc5bc2b91116010e6a633aae4a7a1ac401efe
tree22179d8cbe372a775f9207159198b076952c3053
parent08df53858a36340f2e83048e26cda4749583b8be
Check for FEATURETEST before running pytest

When compiling with meson, it may be easy to forget to compile system
test dependencies before running the tests. In that case, the test
results would be quite incosistent and unpredictable, with some tests
ending up with ERROR, some with FAILURE and others PASS, without a clear
indication that something is off before running the entire machinery.

Add a check to fail early on if the FEATURETEST binary isn't available,
indicating that system test dependencies were most likely not compiled.
bin/tests/system/conftest.py