X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FOptional%2FDependencies.pm;h=0b2617b21d0aa89c1c99b2af8d645906cd918f50;hb=99503754f2d37482ab58d3e3c9b1e4e7fad21f01;hp=d34de2ceace45cf372a026e96cc52245c8ef5c1d;hpb=16120b2279b09ec32c1c7801400809137fb0e843;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Optional/Dependencies.pm b/lib/DBIx/Class/Optional/Dependencies.pm index d34de2c..0b2617b 100644 --- a/lib/DBIx/Class/Optional/Dependencies.pm +++ b/lib/DBIx/Class/Optional/Dependencies.pm @@ -149,13 +149,6 @@ my $reqs = { }, }, - test_admin_script => { - req => { - %$admin_script, - ($^O eq 'MSWin32' ? ('Win32::ShellQuote' => 0) : ()), - } - }, - deploy => { req => { 'SQL::Translator' => '0.11006', @@ -205,6 +198,20 @@ my $reqs = { req => $json_any, }, + test_admin_script => { + req => { + %$admin_script, + 'JSON' => 0, + 'JSON::XS' => 0, + $^O eq 'MSWin32' + # for t/admin/10script.t + ? ('Win32::ShellQuote' => 0) + # DWIW does not compile (./configure even) on win32 + : ('JSON::DWIW' => 0 ) + , + } + }, + test_leaks => { req => { 'Test::Memory::Cycle' => '0',