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