X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fc3_mro.t;h=57c3bdb7c2c9ebd05a810cf2922a3146b94a9089;hp=32ba3b0d2534c458fda0e4628cd43c92abcc1343;hb=85781ad7ed72409d08127c0c23610ecb2de5663a;hpb=4ae6f1089260213be83a06fc37b0d2bdc5c8ecd7 diff --git a/t/c3_mro.t b/t/c3_mro.t index 32ba3b0..57c3bdb 100644 --- a/t/c3_mro.t +++ b/t/c3_mro.t @@ -11,9 +11,13 @@ plan skip_all => "This test requires Class::C3" if $@; # Get a list of all Catalyst:: packages in blib via M::P::O my @cat_mods; { + # problem with @INC on win32, see: + # http://rt.cpan.org/Ticket/Display.html?id=26452 + if ($^O eq 'MSWin32') { require Win32; Win32::GetCwd(); } + local @INC = grep {/blib/} @INC; @cat_mods = ( - 'Catalyst', + 'Catalyst', Module::Pluggable::Object->new(search_path => ['Catalyst'])->plugins, ); }