Run polkit tests in duktape gating

Given polkit is one of the main consumers of duktape, let's run the
polkit test suite in gating to get some, hopefully, useful coverage.
This commit is contained in:
Frantisek Sumsal 2024-11-05 17:45:57 +01:00
parent 86f3a2d8fc
commit 119133c94f
4 changed files with 15 additions and 12 deletions

1
ci.fmf
View File

@ -1 +1,2 @@
# Docs: https://docs.fedoraproject.org/en-US/ci/tmt/#_multiple_plans
resultsdb-testcase: separate

View File

@ -1,6 +1,7 @@
--- !Policy
product_versions:
- rhel-10
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/polkit-all-buildroot-internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/polkit-all-no-buildroot-internal.functional}

11
plans.fmf Normal file
View File

@ -0,0 +1,11 @@
/polkit-all-buildroot-internal:
plan:
import:
url: https://pkgs.devel.redhat.com/git/tests/polkit
name: /plans/all-buildroot
/polkit-all-no-buildroot-internal:
plan:
import:
url: https://pkgs.devel.redhat.com/git/tests/polkit
name: /plans/all-no-buildroot

View File

@ -1,10 +0,0 @@
summary: Internal gating tests plan
discover:
- name: Internal gating tests (duktape)
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/duktape
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora