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: Update README
Date: Thu, 13 Aug 2026 10:29:21 GMT [thread overview]
Message-ID: <178661696126.1.6041033288326316496.tests-fonts-c7aa00b8813b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/fonts
Branch : rhel9
Commit : c7aa00b8813b60419e38d296de835a7aec396500
Author : Akira TAGOH <akira@tagoh.org>
Date : 2024-09-03T11:56:50+09:00
Stats : +31/-23 in 1 file(s)
URL : https://src.fedoraproject.org/tests/fonts/c/c7aa00b8813b60419e38d296de835a7aec396500?branch=rhel9
Log:
Update README
---
diff --git a/README.rst b/README.rst
index df3469b..20ba975 100644
--- a/README.rst
+++ b/README.rst
@@ -9,15 +9,15 @@ Use `tmt` to run tests easily:
How to create
-------------
-1. `tmt init` at a package repository
-2. `tmt plan create -t mini /plans/<sub package name>`
-3. Replace `plans/<sub package name>.fmf` with the following template
+1. ``tmt init`` at a package repository
+2. ``tmt plan create -t mini /plans/<sub package name>``
+3. Replace ``plans/<sub package name>.fmf`` with the following template
or
-1. `dnf install fontrpmspec`
-2. `fontrpmspec-gentmt <path to package repository>`
-3. Review generated fmf plan files under `<path to package repository>/plans`
+1. ``dnf install fontrpmspec``
+2. ``fontrpmspec-gentmt <path to package repository>``
+3. Review generated fmf plan files under ``<path to package repository>/plans``
Template
--------
@@ -48,39 +48,40 @@ Available test cases
- DEFAULT_SANS (optional)
- default value is 0. set 1 if the targeted font package is supposed to
+ 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
+ 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
+ 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
+ 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
+ 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
+ set ``2`` if the result isn't yet determined. it may be helpful to deal with
minor languages.
- DEFAULT_EMOJI (optional)
- default value is 0. set 1 if the targeted font package is supposed to
+ default value is ``0``. set ``1`` if the targeted font package is supposed to
be a default font for emoji.
- DEFAULT_MATH (optional)
- default value is 0. set 1 if the targeted font package is supposed to
+ default value is ``0``. set ``1`` if the targeted font package is supposed to
be a default font for math.
- FONT_FAMILY
- FONT_LANG (optional)
- default value is en. en will be used for und-zsye (emoji) and und-zmth (math).
+ default value is ``en``. en will be used for ``und-zsye`` (emoji) and ``und-zmth`` (math).
+ If you set ``-``(hyphen) as a language, ``en`` will be used instead.
- Generic alias
@@ -90,16 +91,18 @@ Available test cases
- PACKAGE
- FONT_ALIAS (optional)
- default value is sans-serif
+ default value is ``sans-serif``
- FONT_FAMILY
- FONT_LANG (optional)
- default value is en.
+ default value is ``en``.
+ If you set ``-``(hyphen) as a language, this test will be skipped.
+ This may be somewhat useful when you don't want to test a specific font only.
- FONT_WIDTH (optional)
- default value is normal.
+ default value is ``normal``.
- FONT_CONF_EXCLUDE_FILES (optional)
@@ -112,6 +115,11 @@ Available test cases
- PACKAGE
- FONT_LANG (optional)
+
+ default value is ``en``.
+ If you set ``-``(hyphen) as a language, this test will be skipped.
+ This may be somewhat useful when you don't want to test a specific font only.
+
- FONT_LANG_EXCLUDE_FILES (optional)
Set a regex to skip some bogus font files.
@@ -133,7 +141,7 @@ FAQ
- My font package doesn't have an own config.
- You can add `generic_alias` into `exclude` at `discover` section like::
+ You can add ``generic_alias`` into ``exclude`` at ``discover`` section like::
discover:
how: fmf
@@ -143,7 +151,7 @@ FAQ
- My font package doesn't have particular language coverage.
- You can add `lang_coverage` and `default_fonts` into `exclude` at `discover` section like::
+ You can add ``lang_coverage`` and ``default_fonts`` into ``exclude`` at ``discover`` section like::
discover:
how: fmf
@@ -155,7 +163,7 @@ FAQ
- Unable to run `tmt run` locally.
You may want to add the following snippet into your fmf plan file.
- Please note that a package set to `package:` will be pulled from
+ Please note that a package set to ``package:`` will be pulled from
the official repo. it may not contains any changes you may made in
your repo::
@@ -164,7 +172,7 @@ FAQ
how: install
package: <package name to test>
- or `fontrpmspec-gentmt -a` if you use fontrpmspec to generate.
+ or ``fontrpmspec-gentmt -a`` if you use fontrpmspec to generate.
- How to deal with TrueType/OpenType Collection format?
@@ -173,7 +181,7 @@ FAQ
TTC/OTC. So you may want to have separate plan file per faces in TTC/OTC.
See `adobe-source-han-mono-fonts package <https://src.fedoraproject.org/rpms/adobe-source-han-mono-fonts/blob/rawhide/f/plans>`_ for example.
-- I saw "No space left on device" error during testing.
+- I saw ``No space left on device`` error during testing.
- Too many sub packages. How can this be simplified?
You can put required variables into a file on plans directory like the following format::
next reply other threads:[~2026-08-13 10:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-13 10:29 Akira TAGOH [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-08-13 10:29 [tests/fonts] rhel9: Update README Akira TAGOH
2026-08-13 10:29 Akira TAGOH
2026-08-13 10:29 Akira TAGOH
2026-08-13 10:29 Akira TAGOH
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=178661696126.1.6041033288326316496.tests-fonts-c7aa00b8813b@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