gbranden pushed a commit to branch master
in repository groff.
commit 869f857e91acf855e035c1ae2f5d469275e0ccbd
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Jan 19 17:18:15 2026 -0600
[chem]: Skip smoke test if no Perl "Math::Trig".
* contrib/chem/tests/smoke-test.sh: Skip test if Perl's Math::Trig
module is not available.
Thanks to Bruno Haible for the report. See <https://lists.gnu.org/\
archive/html/groff/2026-01/msg00075.html>.
---
contrib/chem/ChangeLog | 8 ++++++++
contrib/chem/tests/smoke-test.sh | 5 +++++
2 files changed, 13 insertions(+)
diff --git a/contrib/chem/ChangeLog b/contrib/chem/ChangeLog
index 573a98e35..bee214ded 100644
--- a/contrib/chem/ChangeLog
+++ b/contrib/chem/ChangeLog
@@ -1,3 +1,11 @@
+2026-01-19 G. Branden Robinson <[email protected]>
+
+ * tests/smoke-test.sh: Skip test if Perl's Math::Trig module is
+ not available.
+
+ Thanks to Bruno Haible for the report. See <https://lists.gnu\
+ .org/archive/html/groff/2026-01/msg00075.html>.
+
2026-01-13 Norwid Behrnd <[email protected]>
* examples/lsd.chem: Improve visual representation. Reorganize
diff --git a/contrib/chem/tests/smoke-test.sh b/contrib/chem/tests/smoke-test.sh
index 62724ccc9..4283e3e01 100755
--- a/contrib/chem/tests/smoke-test.sh
+++ b/contrib/chem/tests/smoke-test.sh
@@ -20,6 +20,11 @@
groff="${abs_top_builddir:-.}/test-groff"
+if ! perl -e 'use Math::Trig;' 2> /dev/null
+then
+ exit 77 # skip
+fi
+
input='.
.cstart
.cend
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit