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:
Tomáš Hozza 2023-04-17 14:23:09 +02:00
parent ca40d1fbe2
commit 544f3d38c8
No known key found for this signature in database
GPG Key ID: C5887AD51D9F3C2D
8 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
summary: Build simple image using osbuild
tag: integration-test
duration: 1h
test: ./build-images.sh ./manifests