X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_server-without_modules.t;h=0fdaa872f8b2b41599bdc9d5ad855451cd710c30;hp=2fc77725f52fb87784c01e8bcadcbe6b52a79330;hb=7064f69b1dfb59d1f3bad647b2097d0320acce8a;hpb=925f587745ef8fa53a4d7458f67a827a68a04dc3 diff --git a/t/aggregate/unit_core_script_server-without_modules.t b/t/aggregate/unit_core_script_server-without_modules.t index 2fc7772..0fdaa87 100644 --- a/t/aggregate/unit_core_script_server-without_modules.t +++ b/t/aggregate/unit_core_script_server-without_modules.t @@ -1,6 +1,12 @@ use strict; use warnings; use FindBin qw/$Bin/; + +# Package::Stash::XS has a weird =~ XS invocation during its compilation +# This interferes with @INC hooks that do rematcuing on their own on +# perls before 5.8.7. Just use the PP version to work around this. +BEGIN { $ENV{PACKAGE_STASH_IMPLEMENTATION} = 'PP' if $] < '5.008007' } + use Test::More; use Try::Tiny; @@ -8,7 +14,7 @@ plan skip_all => "Need Test::Without::Module for this test" unless try { require Test::Without::Module; 1 }; Test::Without::Module->import(qw( - Starman + Starman::Server Plack::Handler::Starman MooseX::Daemonize MooseX::Daemonize::Pid::File @@ -18,7 +24,7 @@ Test::Without::Module->import(qw( require "$Bin/../aggregate/unit_core_script_server.t"; Test::Without::Module->unimport(qw( - Starman + Starman::Server Plack::Handler::Starman MooseX::Daemonize MooseX::Daemonize::Pid::File