From 3105e88626e781f677a2e1df01bdcc530d15d03c Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Oct 24 2022 10:56:15 +0000 Subject: Softfail the check_default_fonts to prevent breaking the Install Arabic test. --- diff --git a/tests/check_default_fonts.pm b/tests/check_default_fonts.pm index 5fac9a0..256e2c7 100644 --- a/tests/check_default_fonts.pm +++ b/tests/check_default_fonts.pm @@ -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.