public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Akira TAGOH <akira@tagoh.org>
To: git-commits@fedoraproject.org
Subject: [tests/fonts] rhel9: default_fonts: allow another option to postpone evaluation
Date: Thu, 13 Aug 2026 10:29:18 GMT	[thread overview]
Message-ID: <178661695849.1.3159786369170562882.tests-fonts-73ab51bec7b1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : tests/fonts
Branch : rhel9
Commit : 73ab51bec7b1e1b425a70e42d30eb4ed3d7ed5e8
Author : Akira TAGOH <akira@tagoh.org>
Date   : 2024-07-08T18:34:31+09:00
Stats  : +9/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/tests/fonts/c/73ab51bec7b1e1b425a70e42d30eb4ed3d7ed5e8?branch=rhel9

Log:
default_fonts: allow another option to postpone evaluation

---
diff --git a/README.rst b/README.rst
index 7e8480f..e223e8c 100644
--- a/README.rst
+++ b/README.rst
@@ -50,16 +50,22 @@ Available test cases
 
     default value is 0. set 1 if the targeted font package is supposed to
     be a default font for sans-serif on a certain language.
+    set 2 if the result isn't yet determined. it may be helpful to deal with
+    minor languages.
 
   - DEFAULT_SERIF (optional)
 
     default value is 0. set 1 if the targeted font package is supposed to
     be a default font for serif on a certain language.
+    set 2 if the result isn't yet determined. it may be helpful to deal with
+    minor languages.
 
   - DEFAULT_MONO (optional)
 
     default value is 0. set 1 if the targeted font package is supposed to
     be a default font for monospace on a certain language.
+    set 2 if the result isn't yet determined. it may be helpful to deal with
+    minor languages.
 
   - DEFAULT_EMOJI (optional)
 

diff --git a/tests/default_fonts/test.sh b/tests/default_fonts/test.sh
index df5b2fb..6b54a68 100755
--- a/tests/default_fonts/test.sh
+++ b/tests/default_fonts/test.sh
@@ -30,8 +30,10 @@ function test_default_fonts {
                 rlRun "fc-match -f \"%{family[0]}\\n\" \":family=$g:lang=${l/und*/en}\" | tee output" 0 "Checking $g default font for lang ${l/und*/en}"
                 if [ ${!v} -eq 1 ]; then
                     rlAssertGrep "^$FONT_FAMILY\$" "output"
-                else
+                elif [ ${!v} -eq 0 ]; then
                     rlAssertNotGrep "^$FONT_FAMILY\$" "output"
+                else
+                    rlLogWarning "Ignoring result, which means it isn't yet determined."
                 fi
             done
         done

                 reply	other threads:[~2026-08-13 10:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178661695849.1.3159786369170562882.tests-fonts-73ab51bec7b1@fedoraproject.org \
    --to=akira@tagoh.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox