X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fperl-module.at;h=20af9681da25d2ecb6ae0e39ae785eb956ae59f6;hb=f5099c58d17e8f66a74a84918e688ef17936d392;hp=2be037066c933691e2417758001a09db7e1515ef;hpb=41ba7141cfc3af541ef00ecc0d4c1325f7579c0f;p=pspp-builds.git diff --git a/tests/perl-module.at b/tests/perl-module.at index 2be03706..20af9681 100644 --- a/tests/perl-module.at +++ b/tests/perl-module.at @@ -620,7 +620,7 @@ AT_DATA([test.pl], print $PSPP::errstr, "\n"; ]]) AT_CHECK([RUN_PERL_MODULE test.pl], [0], - [[Error opening "no-such-file.sav" for reading as a system file: No such file or directory. + [[Error opening `no-such-file.sav' for reading as a system file: No such file or directory. ]], [[Name "PSPP::errstr" used only once: possible typo at test.pl line 8. ]]) @@ -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;