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.
This commit is contained in:
Petr Menšík 2024-09-04 20:01:53 +02:00
commit 678901e010

View file

@ -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 <psklenar@redhat.com>
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: