public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/fonts] rhel9: default_fonts: allow another option to postpone evaluation
@ 2026-08-13 10:29 Akira TAGOH
0 siblings, 0 replies; only message in thread
From: Akira TAGOH @ 2026-08-13 10:29 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-13 10:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 10:29 [tests/fonts] rhel9: default_fonts: allow another option to postpone evaluation Akira TAGOH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox