[Jifty-commit] r4930 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Jan 24 12:32:17 EST 2008
Author: ishigaki
Date: Thu Jan 24 12:32:17 2008
New Revision: 4930
Modified:
jifty/trunk/lib/Jifty/TestServer.pm
Log:
Jifty::TestServer: explicitly ignore ClassLoader objects in @INC while stringifying
Modified: jifty/trunk/lib/Jifty/TestServer.pm
==============================================================================
--- jifty/trunk/lib/Jifty/TestServer.pm (original)
+++ jifty/trunk/lib/Jifty/TestServer.pm Thu Jan 24 12:32:17 2008
@@ -6,7 +6,9 @@
use Test::Builder;
my $Tester = Test::Builder->new;
-my $INC = [grep { defined } map { File::Spec->rel2abs($_) } @INC ];
+# explicitly ignore ClassLoader objects in @INC,
+# which'd be ignored in the end, though.
+my $INC = [grep { defined } map { File::Spec->rel2abs($_) } grep { !ref } @INC ];
my @perl = ($^X, map { "-I$_" } @$INC);
=head1 NAME
More information about the Jifty-commit
mailing list