From: Peter Rabbitson Date: Sat, 15 Dec 2012 04:32:46 +0000 (+0100) Subject: Add JSON::DWIW to authordeps, so more tests run X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=99503754f2d37482ab58d3e3c9b1e4e7fad21f01;p=dbsrgits%2FDBIx-Class-Historic.git Add JSON::DWIW to authordeps, so more tests run --- 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',