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:
|
||||
how: install
|
||||
package:
|
||||
- osbuild
|
||||
discover:
|
||||
how: fmf
|
||||
filter: tag:integration-test
|
||||
execute:
|
||||
script: ./tests/scripts/build-images.sh ./tests/manifests
|
||||
duration: 4h
|
||||
|
||||
how: tmt
|
||||
|
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