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

Softfail the check_default_fonts to prevent breaking the Install Arabic test.

This commit is contained in:
Lukas Ruzicka 2022-10-24 12:56:15 +02:00
parent 7fb70a9926
commit 3105e88626

View File

@ -53,7 +53,16 @@ sub run {
# upload the log for debugging.
upload_logs "test.txt", failok => 1;
# Compare the test file and the reference file.
assert_script_run("diff -u test.txt $language-reference.txt");
# We have been having a lot of failures on the Install Arabic test because of this
# part, which is actually testing an optional test. Unfortunately, it is still
# not clear what the current situation on Fedora should be and this will need
# more investigation.
# For now, let us softfail instead of fail until we know for sure how what the outcome
# should be.
my $exit = script_run("diff -u test.txt $language-reference.txt", timeout => 15);
if ($exit != 0) {
record_soft_failure("The default fonts differ from what is expected, see RBZ#2093080.");
}
}
# For the rest of languages that are not currently defined, do nothing.