]> 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:56:36 +0000 (08:56 +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.

(cherry picked from commit feecbd8e777fa4fe4c6d329f375b8b2c4d60754d)

bin/tests/system/isctest/mark.py

index 6624b74135d42dae04bbe23c1a88b59f1596c3bd..e3b8528d646d00a912434178d70e4f41acfcee73 100644 (file)
@@ -55,6 +55,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"
 )