Commit Graph

7 Commits

Author SHA1 Message Date
Tomáš Hozza
e53b8477d4
Tests: enable TF tag repository during the unit-tests plan
This should solve https://issues.redhat.com/browse/TFT-2810 and make
sure that the packages that the tested RPM was built against, are
available on the VM for installation.

Related: RHEL-56049

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-27 16:51:29 +02:00
Tomáš Hozza
1dbc7a90ff
Run tests only on x86_64
Resolves: RHEL-27178

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-23 17:38:33 +02:00
Tomáš Hozza
2d5873bf11
Test: unify test case implementation across c8s / c9s
Resolves: rhbz#2174847
2023-05-30 13:08:03 +02:00
Tomáš Hozza
4d13e6b27c
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#2174847

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-21 17:49:23 +02:00
Tomáš Hozza
288b280073
Test: rework execution of unit-tests
We have been running just a subset of osbuild unit tests and also not as
a root, so some of them would be skipped.

In addition, the downstream patches were never applied on sources which
were used for unit-testing. Thus if any issue with test was just
backported as a patch, this had no effect on the test result.

Rework how tests are executed by using a dedicated script which will
take care of the installation of test dependencies, preparation of
sources including application of downstream patches and execute all unit
tests.

Rework also the FMF test metadata and test discovery.

Related: rhbz#2174847

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-21 17:49:23 +02:00
Tomáš Hozza
01e2f67db0
Test: rework integration test to run on all supported distros
Previously, the integration test was always skipped in c9s. Rework it to
pick the correct image manifest based on the running distro and build it
using osbuild.

Pick manifests for the latest distro versions from the upstream
osbuild-composer repository. Use qcow2 image with customizations.

Related: rhbz#2132250

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-02-15 11:57:08 +01:00
Chloe Kaubisch
07927c9639 Update to 48
Use tmt based tests instead of STI

Resolves: rhbz#2011777
2022-02-17 17:38:20 +01:00