gbranden pushed a commit to branch master
in repository groff.

commit 418c12b39a969c9fc6b3f33e38da622d3398318a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Feb 3 04:23:46 2026 -0600

    [glilypond]: Make test script explain skipping.
---
 contrib/glilypond/tests/smoke-test.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/glilypond/tests/smoke-test.sh 
b/contrib/glilypond/tests/smoke-test.sh
index 9da632626..e0a80989d 100755
--- a/contrib/glilypond/tests/smoke-test.sh
+++ b/contrib/glilypond/tests/smoke-test.sh
@@ -16,13 +16,15 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
 
 glilypond="${abs_top_builddir:-.}/glilypond"
 groff="${abs_top_builddir:-.}/test-groff"
 
-if ! perl -e 'use File::HomeDir;' 2> /dev/null
+module=File::HomeDir
+
+if ! perl -e "use $module;" 2> /dev/null
 then
+    echo "Perl module $module not available; skipping" >&2
     exit 77 # skip
 fi
 

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to