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
2025-01-24 08:45:51 +00:00
parent d3455be08c
commit feecbd8e77
+4
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"
)