gbranden pushed a commit to branch master
in repository groff.
commit 379902c992d805a26cac970b5ee3a633987edea4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Feb 8 15:08:19 2025 -0600
[groff]: Test "es" and "ru" l10n files more.
* src/roff/groff/tests/initialization-is-quiet.sh: Add new "es" and "ru"
localization macro files as test scenarios.
* tmac/LOCALIZATION: Document this step, since I forgot it.
---
ChangeLog | 6 ++++++
src/roff/groff/tests/initialization-is-quiet.sh | 2 +-
tmac/LOCALIZATION | 3 +++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index d229aad40..fb3707812 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-02-08 G. Branden Robinson <[email protected]>
+
+ * src/roff/groff/tests/initialization-is-quiet.sh: Add new "es"
+ and "ru" localization macro files as test scenarios.
+ * tmac/LOCALIZATION: Document this step, since I forgot it.
+
2025-02-07 G. Branden Robinson <[email protected]>
* src/roff/groff/groff.am (groff_XFAIL_TESTS): Add
diff --git a/src/roff/groff/tests/initialization-is-quiet.sh
b/src/roff/groff/tests/initialization-is-quiet.sh
index 46c847c54..48dc130b1 100755
--- a/src/roff/groff/tests/initialization-is-quiet.sh
+++ b/src/roff/groff/tests/initialization-is-quiet.sh
@@ -43,7 +43,7 @@ fi
for compat in "" " -C"
do
- for locale in cs de en fr it ja sv zh
+ for locale in cs de en es fr it ja ru sv zh
do
echo testing \"-m $locale$compat\" >&2
output=$("$groff" -ww -m $locale$compat -a -Tutf8 </dev/null \
diff --git a/tmac/LOCALIZATION b/tmac/LOCALIZATION
index ed9b6c5ca..b03998cf4 100644
--- a/tmac/LOCALIZATION
+++ b/tmac/LOCALIZATION
@@ -32,6 +32,9 @@ hyphenation pattern files.
3. After implementing a new groff locale, add a test for it in the
"localization-works.sh" file.
+4. Add the name of the macro file (excluding ".tmac") to the loop in
+ the "initialization-is-quiet.sh" test script.
+
See the groff Texinfo manual in doc/groff.texi for descriptions of the
requests referred to above.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit