From 678901e01041bed1f5df216c884007b9f51222fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 4 Sep 2024 20:01:53 +0200 Subject: [PATCH] Require pytest, do not require databases on Fedora Database were used by bind-sdb only, which is not built on Fedora anymore. There are still some bind-dlz-* plugins, but even Postgresql is not used anymore. --- Sanity/named/Run-internal-BIND-test-suite/main.fmf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Sanity/named/Run-internal-BIND-test-suite/main.fmf b/Sanity/named/Run-internal-BIND-test-suite/main.fmf index 56e9c97..0f38d1b 100644 --- a/Sanity/named/Run-internal-BIND-test-suite/main.fmf +++ b/Sanity/named/Run-internal-BIND-test-suite/main.fmf @@ -3,7 +3,6 @@ description: | Bug summary: Run internal BIND test suite Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=642970 - contact: Petr Sklenar test: ./runtest.sh framework: beakerlib @@ -22,7 +21,6 @@ recommend: - libidn2-devel - libxml2-devel - openldap-devel - - postgresql-devel - sqlite-devel - krb5-devel - net-tools @@ -48,9 +46,17 @@ adjust+: - kyua when: distro < fedora-37 or distro <= rhel-9 or distro <= centos-9 because: only bind <=9.16 uses kyua for unit tests + - recommend+: + - postgresql-devel + when: component == bind and distro < fedora-33 or distro < rhel-9 or distro < centos-9 + because: only bind-sdb in bind <=9.11 needs those databases - recommend+: - libidn-devel when: distro < rhel-8 or distro < centos-8 + - recommend+: + - python3-pytest + when: distro >= fedora-39 or distro >= rhel-9 or distro >= centos-9 + because: bind 9.18+ uses it to run tests duration: 14h enabled: true tag: