X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F53lean_startup.t;h=6dd37f79369e94603a9cfa33a07919e065f96e8f;hb=ba0e8d1c2554716b2fef6dc00672c5eb8aaab368;hp=311fa24a2e857c937c9a25ed57aa5cd52d1f7e10;hpb=5e7249645ea75d5a9d25f1fdf8a42e0536b03f4e;p=dbsrgits%2FDBIx-Class.git diff --git a/t/53lean_startup.t b/t/53lean_startup.t index 311fa24..6dd37f7 100644 --- a/t/53lean_startup.t +++ b/t/53lean_startup.t @@ -50,7 +50,7 @@ BEGIN { CORE::require('Test/More.pm'); Test::More::fail ("Unexpected require of '$req' by $caller[0] ($caller[1] line $caller[2])"); - if ($ENV{TEST_VERBOSE}) { + if ( $ENV{TEST_VERBOSE} or ! DBICTest::RunMode->is_plain ) { CORE::require('DBICTest/Util.pm'); Test::More::diag( 'Require invoked' . DBICTest::Util::stacktrace() ); } @@ -99,6 +99,8 @@ BEGIN { namespace::clean Try::Tiny Sub::Name + strictures + Sub::Quote Scalar::Util List::Util @@ -106,6 +108,10 @@ BEGIN { Class::Accessor::Grouped Class::C3::Componentised + SQL::Abstract + + Module::Runtime + File::Spec )); require DBICTest::Schema; @@ -116,7 +122,6 @@ BEGIN { { register_lazy_loadable_requires(qw( Moo - Sub::Quote Context::Preserve )); @@ -129,7 +134,6 @@ BEGIN { { register_lazy_loadable_requires(qw( DBI - SQL::Abstract Hash::Merge ));