]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add "without_fips" mark
authorMichal Nowak <mnowak@isc.org>
Wed, 17 Jan 2024 19:44:27 +0000 (20:44 +0100)
committerMichal Nowak <mnowak@isc.org>
Fri, 24 Jan 2025 08:45:51 +0000 (08:45 +0000)
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.

bin/tests/system/isctest/mark.py

index 95435dfd3aaaebb4356e42c5e893c03dcb67645c..ac5480834c9abfe42b17bb36416f152bf7cacef8 100644 (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"
 )