X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fpod.t;h=92d650e2e20fd17963cb0b199a530798c17bc4b4;hb=20884f55ed03738633c1cf2a1f8d43af743b650e;hp=d1a62102c1e4ab75e5f3542491af7e6d5bbb34af;hpb=50936381f62f1e6a79678f6470722459b53bf2f4;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/pod.t b/xt/pod.t index d1a6210..92d650e 100644 --- a/xt/pod.t +++ b/xt/pod.t @@ -8,7 +8,7 @@ use DBICTest; require DBIx::Class; unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_pod') ) { my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_pod'); - (! DBICTest::RunMode->is_plain && ! DBICTest::RunMode->is_smoker ) + $ENV{RELEASE_TESTING} ? die ("Failed to load release-testing module requirements: $missing") : plan skip_all => "Test needs: $missing" }