Test: rework FMF test metadata and test discovery for integration tests
Do not execute test script in the test plan, but use TMT test discovery instead. Related: rhbz#2174845 Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
ca40d1fbe2
commit
544f3d38c8
@ -1,9 +1,10 @@
|
|||||||
summary: Build simple image using osbuild
|
summary: Run osbuild integration tests
|
||||||
prepare:
|
prepare:
|
||||||
how: install
|
how: install
|
||||||
package:
|
package:
|
||||||
- osbuild
|
- osbuild
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
filter: tag:integration-test
|
||||||
execute:
|
execute:
|
||||||
script: ./tests/scripts/build-images.sh ./tests/manifests
|
how: tmt
|
||||||
duration: 4h
|
|
||||||
|
|
||||||
|
4
tests/image-build/main.fmf
Normal file
4
tests/image-build/main.fmf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
summary: Build simple image using osbuild
|
||||||
|
tag: integration-test
|
||||||
|
duration: 1h
|
||||||
|
test: ./build-images.sh ./manifests
|
Loading…
Reference in New Issue
Block a user