From d2179c31f7346cb9f5a901a074a939c23ca71a51 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 14 Nov 2010 21:58:28 -0800 Subject: [PATCH] perl-module: Only run the combined test if Text::Diff is present. The combined test using Pspp.t only works if Text::Diff is installed (although the broken-out tests don't require it), so only try that test if Text::Diff is available. --- tests/perl-module.at | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/perl-module.at b/tests/perl-module.at index 115f2a8d..20af9681 100644 --- a/tests/perl-module.at +++ b/tests/perl-module.at @@ -704,6 +704,8 @@ AT_CLEANUP AT_SETUP([Perl Pspp.t]) 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]) AT_CHECK([RUN_PERL_MODULE $abs_top_builddir/perl-module/t/Pspp.t], [0], [[1..36 ok 1 - use PSPP; -- 2.30.2