From 968e2283284bf7e59ea6e69c8098166ee2c3823f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 15 May 2023 22:31:55 -0700 Subject: [PATCH] perl-module: Skip Pspp.t test if Test::More isn't installed. This was a requirement but it wasn't noticed until now. Thanks to Marshall DeBerry for reporting this. --- INSTALL | 4 ++-- tests/perl-module.at | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index 7456d6c760..a4d6dcf11a 100644 --- a/INSTALL +++ b/INSTALL @@ -97,8 +97,8 @@ module: * The Config::Perl::V module for Perl (https://cpan.org). - * Optionally, the Text::Diff module for Perl - (https://cpan.org). This module enables PSPP to test its Perl + * Optionally, the Text::Diff and Test::More modules for Perl + (https://cpan.org). These modules enable PSPP to test its Perl module more thoroughly. Other optional packages: diff --git a/tests/perl-module.at b/tests/perl-module.at index 291634204e..b83e42a073 100644 --- a/tests/perl-module.at +++ b/tests/perl-module.at @@ -678,6 +678,8 @@ AT_KEYWORDS([slow]) AT_SKIP_IF([test "$WITH_PERL_MODULE" = no]) # Skip this test if Perl's Text::Diff module is not installed. AT_CHECK([perl -MText::Diff -e '' || exit 77]) +# Skip this test if Perl's Test::More module is not installed. +AT_CHECK([perl -MTest::More -e '' || exit 77]) AT_CHECK([run_perl_module "$abs_top_builddir/perl-module/t/Pspp.t"], [0], [[1..37 ok 1 - use PSPP; -- 2.30.2