mirror of
https://github.com/cockpit-project/cockpit.git
synced 2024-10-06 05:35:17 +02:00
fmf: Factorize and merge plan files
FMF plans can inherit common properties [1]. Go back to a single
plans/all.fmf (like it was until commit fe4721cdcd
), put the common
properties at the top, and enumerate the three plans with their specific
properties.
This will make it easier to keep the Fedora downstream dist-git in sync.
[1] https://tmt.readthedocs.io/en/latest/examples.html#inherit-plans
This commit is contained in:
parent
9814ec6a4d
commit
633624ba97
4 changed files with 19 additions and 21 deletions
19
plans/all.fmf
Normal file
19
plans/all.fmf
Normal file
|
@ -0,0 +1,19 @@
|
|||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
/basic:
|
||||
summary: Run tests for basic packages
|
||||
discover+:
|
||||
test: /test/browser/basic
|
||||
|
||||
/network:
|
||||
summary: Run tests for cockpit-networkmanager
|
||||
discover+:
|
||||
test: /test/browser/network
|
||||
|
||||
/optional:
|
||||
summary: Run tests for optional packages
|
||||
discover+:
|
||||
test: /test/browser/optional
|
|
@ -1,7 +0,0 @@
|
|||
summary:
|
||||
Run tests for basic packages
|
||||
discover:
|
||||
how: fmf
|
||||
test: /test/browser/basic
|
||||
execute:
|
||||
how: tmt
|
|
@ -1,7 +0,0 @@
|
|||
summary:
|
||||
Run tests for cockpit-networkmanager
|
||||
discover:
|
||||
how: fmf
|
||||
test: /test/browser/network
|
||||
execute:
|
||||
how: tmt
|
|
@ -1,7 +0,0 @@
|
|||
summary:
|
||||
Run tests for optional packages
|
||||
discover:
|
||||
how: fmf
|
||||
test: /test/browser/optional
|
||||
execute:
|
||||
how: tmt
|
Loading…
Reference in a new issue