7 use DBIx::Class::_Util 'sigwarn_silencer';
15 return unless ( -f $_ and $_ =~ /\.pm$/ );
22 if (my @offenders = grep { $_ ne 'DBIx/Class/_Util.pm' } grep { $_ =~ /(^|\/)DBI/ } keys %INC) {
23 die "Wtf - DBI* modules present in %INC: @offenders";
26 local $SIG{__WARN__} = sigwarn_silencer( qr/\bdeprecated\b/i );
27 require( ( $_ =~ m| t/lib/ (.+) |x )[0] ); # untaint and strip lib-part (. is unavailable under -T)
31 is ( waitpid($pid, 0), $pid, "Fork $pid terminated sucessfully");
33 is ( $ex, 0, "Loading $_ ($pid) exitted with $ex" );
37 }, 't/lib/DBICTest/Schema/');