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: warn if VARLIST is set but not available
Date: Thu, 13 Aug 2026 10:29:30 GMT [thread overview]
Message-ID: <178661697036.1.17981473632835893158.tests-fonts-76b141af696a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/fonts
Branch : rhel9
Commit : 76b141af696af66142b42a29d8a6e481dd5b6d92
Author : Akira TAGOH <akira@tagoh.org>
Date : 2024-12-10T17:53:59+09:00
Stats : +12/-0 in 4 file(s)
URL : https://src.fedoraproject.org/tests/fonts/c/76b141af696af66142b42a29d8a6e481dd5b6d92?branch=rhel9
Log:
warn if VARLIST is set but not available
---
diff --git a/tests/default_fonts/test.sh b/tests/default_fonts/test.sh
index d9db60a..449d672 100755
--- a/tests/default_fonts/test.sh
+++ b/tests/default_fonts/test.sh
@@ -74,6 +74,9 @@ rlJournalStart
}
rlPhaseEnd
+ if [ -n "$VARLIST" ] && [ ! -f "$TMT_TREE/plans/$VARLIST" ]; then
+ rlLogWarning "No $VARLIST in VARLIST envvar at \$TMT_TREE/plans"
+ fi
if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
grep -E -v "^#" "$TMT_TREE/plans/$VARLIST" | while IFS=";" read -r _PACKAGE _FONT_ALIAS _FONT_LANG _FONT_WIDTH _FONT_FAMILY _DEFAULT_SANS _DEFAULT_SERIF _DEFAULT_MONO _DEFAULT_EMOJI _DEFAULT_MATH FONT_LANG_EXCLUDE_FILES FONT_VALIDATE_EXCLUDE_FILES FONT_CONF_EXCLUDE_FILES FONT_VALIDATE_INDEXES dummy; do
diff --git a/tests/generic_alias/test.sh b/tests/generic_alias/test.sh
index abcf0ca..f771a9b 100755
--- a/tests/generic_alias/test.sh
+++ b/tests/generic_alias/test.sh
@@ -94,6 +94,9 @@ rlJournalStart
}
rlPhaseEnd
+ if [ -n "$VARLIST" ] && [ ! -f "$TMT_TREE/plans/$VARLIST" ]; then
+ rlLogWarning "No $VARLIST in VARLIST envvar at \$TMT_TREE/plans"
+ fi
if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
grep -E -v "^#" "$TMT_TREE/plans/$VARLIST" | while IFS=";" read -r _PACKAGE _FONT_ALIAS _FONT_LANG _FONT_WIDTH _FONT_FAMILY SANS SERIF MONO EMOJI MATH FONT_LANG_EXCLUDE_FILES FONT_VALIDATE_EXCLUDE_FILES _FONT_CONF_EXCLUDE_FILES _FONT_VALIDATE_INDEXES dummy; do
diff --git a/tests/lang_coverage/test.sh b/tests/lang_coverage/test.sh
index 3b4944a..9bd91e4 100755
--- a/tests/lang_coverage/test.sh
+++ b/tests/lang_coverage/test.sh
@@ -78,6 +78,9 @@ rlJournalStart
}
rlPhaseEnd
+ if [ -n "$VARLIST" ] && [ ! -f "$TMT_TREE/plans/$VARLIST" ]; then
+ rlLogWarning "No $VARLIST in VARLIST envvar at \$TMT_TREE/plans"
+ fi
if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
grep -E -v "^#" "$TMT_TREE/plans/$VARLIST" | while IFS=";" read -r _PACKAGE FONT_ALIAS _FONT_LANG FONT_WIDTH FONT_FAMILY SANS SERIF MONO EMOJI MATH _FONT_LANG_EXCLUDE_FILES _FONT_VALIDATE_EXCLUDE_FILES _FONT_CONF_EXCLUDE_FILES _FONT_VALIDATE_INDEXES dummy; do
diff --git a/tests/validate_family/test.sh b/tests/validate_family/test.sh
index 327ea3b..a6a6927 100755
--- a/tests/validate_family/test.sh
+++ b/tests/validate_family/test.sh
@@ -89,6 +89,9 @@ rlJournalStart
}
rlPhaseEnd
+ if [ -n "$VARLIST" ] && [ ! -f "$TMT_TREE/plans/$VARLIST" ]; then
+ rlLogWarning "No $VARLIST in VARLIST envvar at \$TMT_TREE/plans"
+ fi
if [ -n "$VARLIST" ] && [ -f "$TMT_TREE/plans/$VARLIST" ]; then
rlLogInfo "Reading variables from $VARLIST"
grep -E -v "^#" "$TMT_TREE/plans/$VARLIST" | while IFS=";" read -r _PACKAGE FONT_ALIAS FONT_LANG FONT_WIDTH _FONT_FAMILY SANS SERIF MONO EMOJI MATH FONT_LANG_EXCLUDE_FILES _FONT_VALIDATE_EXCLUDE_FILES _FONT_CONF_EXCLUDE_FILES _FONT_VALIDATE_INDEXES dummy; do
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=178661697036.1.17981473632835893158.tests-fonts-76b141af696a@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