Commit Graph

7 Commits

Author SHA1 Message Date
Tomáš Hozza
65b154355a
Test/unit-tests: handle dot releases when parsing Source0
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-04-07 14:14:37 +02:00
Tomáš Hozza
eb27aa4849
Test: allow erasing packages when installing build deps
It became a common thing that the SUT has newer selinux-policy installed
than the version available in the configured repositories. osbuild has a
build dependency on selinux-policy-devel, which installation fails in
such case (there is no `*-devel` package with of the installed version
available in the configured repositories). None of the other workarounds
actually work consistently, so fall back to allowing DNF to downgrade
the installed selinux-policy on SUT.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-04-07 14:13:40 +02:00
Tomáš Hozza
4a204b5d1f
Tests: don't install and test gdisk stage
gdisk component has been removed from c10s / el10, therefore we should
not be installing it and testing the stage.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-10-01 12:26:51 +02:00
Paweł Poławski
9aa6acc476 Tests: Disable TOML write tests on c10s
Recently tomli_w package has been removed from c10s and calling it in
python will fail. This commit excludes related tests from being
executed.
2024-09-11 18:22:14 +02:00
Tomáš Hozza
a7239bd381
Run tests only on x86_64
Tests are intended to work only on x86_64. Other arches are tested in
the upstream.

Resolves: RHEL-32133

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-23 17:39:34 +02:00
Tomáš Hozza
3ab1933d04
Don't rely on rhpkg and centpkg tools
Since [1], TMT finally applies downstream patches when extracting
sources for testing. Fixing this took eternity, and in the meantime, we
moved to using rhpkg / centpkg to prepare the sources for testing. This
is however now causing a lot of pain in c10s / el10, because these tools
are not yet build for the new distro versions.

Let's move back to relying on TMT to extract sources and apply
downstream, patches.

[1] https://github.com/teemtee/tmt/pull/2641

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-05-31 12:13:49 +02:00
Alexander Todorov
55460c84da
Enable gating for RHEL-10
Resolves: RHELMISC-3930
2024-05-30 15:18:25 +02:00