From: Ben Pfaff Date: Tue, 16 May 2023 05:31:55 +0000 (-0700) Subject: perl-module: Skip Pspp.t test if Test::More isn't installed. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=968e2283284bf7e59ea6e69c8098166ee2c3823f;p=pspp 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. --- 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;