Add "without_fips" mark

The "without_fips" mark disables test function when BIND 9 was built
with the FIPS mode enabled as not everything works in FIPS-enabled
builds.
This commit is contained in:
Michal Nowak 2024-01-17 20:44:27 +01:00
parent d3455be08c
commit feecbd8e77

View file

@ -41,6 +41,10 @@ def with_tsan(*args): # pylint: disable=unused-argument
return feature_test("--tsan")
without_fips = pytest.mark.skipif(
feature_test("--have-fips-mode"), reason="FIPS support enabled in the build"
)
have_libxml2 = pytest.mark.skipif(
not feature_test("--have-libxml2"), reason="libxml2 support disabled in the build"
)