1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Soft fail on missing background for F40

...we know there isn't one yet.
https://bugzilla.redhat.com/show_bug.cgi?id=2230720

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-02-14 00:43:46 -08:00
parent e6dabfa0df
commit de4735f6f1

View File

@ -11,7 +11,16 @@ sub run {
# don't have any requirement for what background Rawhide uses.
my $version = get_var('VERSION');
my $rawrel = get_var('RAWREL');
assert_screen "${version}_background" if ($version ne "Rawhide" && $version ne $rawrel);
if ($version ne "Rawhide" && $version ne $rawrel) {
unless (check_screen "${version}_background", 30) {
if ($version eq "40") {
record_soft_failure "No backgrounds for F40 yet: https://bugzilla.redhat.com/show_bug.cgi?id=2230720";
}
else {
die "Correct background not found!"
}
}
}
}
sub test_flags {