Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more
|
#!/usr/bin/perl -w
BEGIN {
chdir 't' or die "chdir(t): $!\n" ;
unshift @INC , 'lib/' ;
}
plan skip_all => 'Dynaloading not enabled' if ! $Config {usedl} or $Config {usedl} ne 'define' ;
plan skip_all => "ExtUtils::CBuilder not installed or couldn't find a compiler"
unless have_compiler();
my @tests = list_dynamic();
plan skip_all => "No tests" unless @tests ;
plan tests => 6 * @tests ;
my $perl = which_perl();
perl_lib;
$| = 1;
run_tests( $perl , @$_ ) for @tests ;
|