bind9/bin
Michał Kępień 3680763577 Simplify skipping tests depending on json-c
All tests in bin/tests/system/statschannel/tests-json.py require json-c
support to be enabled in BIND 9 at build-time.  Instead of applying the
same pytest.mark.skipif() decorator to every test in that file, set the
'pytestmark' global accordingly in order to immediately skip all tests
in tests-json.py if json-c support is not compiled in.

Remove all occurrences of the @pytest.mark.json decorator (and all
associated code) from the "statschannel" system test as the json module
is a part of the Python standard library since Python 2.6 (so checking
whether it is available is redundant) and checking for json-c support in
the tested BIND 9 build is already handled by setting the 'pytestmark'
global accordingly.

Also remove a related excerpt from bin/tests/system/rpzextra/conftest.py
as it is a copy-paste artifact that serves no purpose in the "rpzextra"
system test.

(cherry picked from commit 0a76f186a5)
2022-03-14 09:04:10 +01:00
..
check Refer to RFC 4592 for DNS wildcards 2022-03-10 20:18:52 +01:00
confgen Split out ddns-confgen and tsig-keygen man pages 2022-03-10 20:18:52 +01:00
delv Use compile-time paths in the manual pages 2022-02-10 17:08:24 +01:00
dig Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
dnssec Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
named Make dns_catz_get_iterator() return void 2022-03-08 20:47:06 +01:00
nsupdate Reorder the nsupdate shutdown code to shutdown managers early 2022-03-08 09:50:13 +01:00
plugins Make isc_ht_init() and isc_ht_iter_create() return void 2022-03-08 20:47:06 +01:00
rndc Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
tests Simplify skipping tests depending on json-c 2022-03-14 09:04:10 +01:00
tools Fix the remaining cases of <prog>_CFLAGS -> <prog>_CPPFLAGS 2022-03-13 18:53:19 +01:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00