Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Filter::Util::Call for dot in INC #7

Open
wants to merge 1 commit into
base: blead
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cpan/Filter-Util-Call/t/call.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
use Config;

use FindBin;
use lib "$FindBin::Bin/.."; # required to load filter-util.pl

BEGIN {
if ($ENV{PERL_CORE}) {
if ($Config{'extensions'} !~ m{\bFilter/Util/Call\b}) {
Expand All @@ -7,14 +11,15 @@ BEGIN {
}
}
unshift @INC, 't';
require 'filter-util.pl';
}

use strict;
use warnings;

use vars qw($Inc $Perl);

require 'filter-util.pl';

print "1..34\n";

$Perl = "$Perl -w";
Expand Down
4 changes: 4 additions & 0 deletions cpan/Filter-Util-Call/t/rt_54452-rebless.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ if ($] < 5.004_55) {

use strict;
use warnings;

use FindBin;
use lib "$FindBin::Bin/.."; # required to load filter-util.pl

BEGIN { unshift @INC, 't'; }

require "filter-util.pl" ;
Expand Down
1 change: 0 additions & 1 deletion t/TEST
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ my %temp_no_core =
# Ideally this # list will eventually be empty

my %temp_needs_dot = map { $_ => 1 } qw(
../cpan/Filter-Util-Call
../cpan/libnet
../cpan/Test-Simple
);
Expand Down