Result:
found 96 distributions and 126 files matching your query ! ( run in 1.404 )


ShipIt-Step-CheckYAMLChangeLog

 view release on metacpan or  search on metacpan

inc/Module/Install/StandardTests.pm  view on Meta::CPAN

        BEGIN {
            use Test::More;
            eval "use Test::Compile";
            Test::More->builder->BAIL_OUT(
                "Test::Compile required for testing compilation") if $@;
            all_pm_files_ok();
        }
    /);
}


 view all matches for this distribution


ShipIt-Step-DistClean

 view release on metacpan or  search on metacpan

inc/Module/Install/StandardTests.pm  view on Meta::CPAN

        BEGIN {
            use Test::More;
            eval "use Test::Compile";
            Test::More->builder->BAIL_OUT(
                "Test::Compile required for testing compilation") if $@;
            all_pm_files_ok();
        }
    /);
}


 view all matches for this distribution


ShipIt-Step-Jaiku

 view release on metacpan or  search on metacpan

inc/Module/Install/StandardTests.pm  view on Meta::CPAN

        BEGIN {
            use Test::More;
            eval "use Test::Compile";
            Test::More->builder->BAIL_OUT(
                "Test::Compile required for testing compilation") if $@;
            all_pm_files_ok();
        }
    /);
}


 view all matches for this distribution


ShipIt-Step-Manifest

 view release on metacpan or  search on metacpan

inc/Module/Install/StandardTests.pm  view on Meta::CPAN

        BEGIN {
            use Test::More;
            eval "use Test::Compile";
            Test::More->builder->BAIL_OUT(
                "Test::Compile required for testing compilation") if $@;
            all_pm_files_ok();
        }
    /);
}


 view all matches for this distribution



Sweet-Home

 view release on metacpan or  search on metacpan

t/_compile.t  view on Meta::CPAN

use warnings;
use Test::More;
eval "use Test::Compile";
plan skip_all => "Test::Compile required for testing compilation"
  if $@;
all_pm_files_ok();

 view all matches for this distribution


Task-BeLike-FIBO

 view release on metacpan or  search on metacpan

t/_compile.t  view on Meta::CPAN

use warnings;
use Test::More;
eval "use Test::Compile";
plan skip_all => "Test::Compile required for testing compilation"
  if $@;
all_pm_files_ok();

 view all matches for this distribution


Task-Viral

 view release on metacpan or  search on metacpan

t/_compile.t  view on Meta::CPAN

use warnings;
use Test::More;
eval "use Test::Compile";
plan skip_all => "Test::Compile required for testing compilation"
  if $@;
all_pm_files_ok();

 view all matches for this distribution


Template-Plugin-CPAN-Packages

 view release on metacpan or  search on metacpan

inc/Module/Install/StandardTests.pm  view on Meta::CPAN

        BEGIN {
            use Test::More;
            eval "use Test::Compile";
            Test::More->builder->BAIL_OUT(
                "Test::Compile required for testing compilation") if $@;
            all_pm_files_ok();
        }
    /);
}


 view all matches for this distribution


Template-Plugin-GoogleChart

 view release on metacpan or  search on metacpan

xt/author/00_compile.t  view on Meta::CPAN

use Test::More;
eval 'use Test::Compile; 1'
  or plan skip_all => 'Test::Compile required';
plan skip_all => 'skip author tests during AUTOMATED_TESTING'
  if $ENV{AUTOMATED_TESTING};
all_pm_files_ok();

 view all matches for this distribution


Test-Apocalypse

 view release on metacpan or  search on metacpan

lib/Test/Apocalypse/Compile.pm  view on Meta::CPAN

# ABSTRACT: Plugin for Test::Compile

use Test::Compile 0.11;

sub do_test {
	all_pm_files_ok();

	return;
}

1;

 view all matches for this distribution


Test-Compile

 view release on metacpan or  search on metacpan

lib/Test/Compile.pm  view on Meta::CPAN


our @EXPORT = qw(
    pm_file_ok
    pl_file_ok

    all_pm_files_ok
    all_pl_files_ok

    all_pm_files
    all_pl_files
);
our @EXPORT_OK = qw(
    pm_file_ok
    pl_file_ok

    all_files_ok
    all_pm_files_ok
    all_pl_files_ok

    all_pm_files
    all_pl_files
);

lib/Test/Compile.pm  view on Meta::CPAN

They are automatically exported to your namespace,  which is
no longer considered best practise.  At some stage in the future, this will
stop and you'll have to import them explicitly to keep using them.

The object oriented methods also provide a more consistent interface. 
For example: C<all_pm_files_ok()> calls the C<plan()> function - so you can't call
multiple test functions in the same test file.

=over 4

=item C<all_pm_files_ok(@files)>

B<This function is deprecated>.  Please use
L<Test::Compile::Internal/all_pm_files_ok(@dirs)> instead.  It's pretty much the
same, except it doesn't call the C<plan()> function.

Checks all the perl module files it can find for compilation errors.

It uses C<all_pm_files(@files)> to find the perl module files.

lib/Test/Compile.pm  view on Meta::CPAN


Returns true if all Perl module files are ok, or false if any fail.

=cut

sub all_pm_files_ok {
    my @files = @_ ? @_ : all_pm_files();
    $Test->plan(tests => scalar @files);
    return $Test->all_pm_files_ok(@files);
}

=item C<all_pl_files_ok(@files)>

B<This function is deprecated>.  Please use

lib/Test/Compile.pm  view on Meta::CPAN


It uses C<all_pl_files(@files)> to find the perl script files.

It also calls the C<plan()> function for you (one test for each script), so
you can't have already called C<plan>. Unfortunately, this also means
you can't use this function with C<all_pm_files_ok()>.  If this is a problem
you should really be using the object oriented interface.

Returns true if all Perl script files are ok, or false if any fail.

=cut

lib/Test/Compile.pm  view on Meta::CPAN

}

=item C<pm_file_ok($filename, $testname)>

B<This function is deprecated>.  Please use
L<Test::Compile::Internal/all_pm_files_ok(@dirs)> instead.  It's pretty much the
same, except it won't allow you to specify a test name, and it can handle more than
one file at a time.

C<pm_file_ok()> will okay the test if $filename compiles as a perl module.

 view all matches for this distribution


Test-Daily

 view release on metacpan or  search on metacpan

t/00_compile.t  view on Meta::CPAN

eval "use Test::Compile 0.08";
plan skip_all => "Test::Compile 0.08 required for testing compilation"
    if $@;

my @pmdirs = qw(lib blib sbin bin);
all_pm_files_ok(all_pm_files(@pmdirs));

 view all matches for this distribution


Test-Import

 view release on metacpan or  search on metacpan

t/00_compile.t  view on Meta::CPAN

use warnings;
use Test::More;
eval "use Test::Compile";
Test::More->builder->BAIL_OUT(
    "Test::Compile required for testing compilation") if $@;
all_pm_files_ok();

 view all matches for this distribution


Test-Install-METArequires

 view release on metacpan or  search on metacpan

t/00_compile.t  view on Meta::CPAN

eval "use Test::Compile 0.08";
plan skip_all => "Test::Compile 0.08 required for testing compilation"
    if $@;

my @pmdirs = qw(lib blib sbin bin);
all_pm_files_ok(all_pm_files(@pmdirs));

 view all matches for this distribution


Test-TempFile

 view release on metacpan or  search on metacpan

t/00-compile.t  view on Meta::CPAN

use Test::More;

eval "use Test::Compile";
plan skip_all => "Test::Compile required for testing compilation" if $@;

all_pm_files_ok();

 view all matches for this distribution













Universe-Galaxy

 view release on metacpan or  search on metacpan

t/00_compile.t  view on Meta::CPAN

eval "use Test::Compile 0.08";
plan skip_all => "Test::Compile 0.08 required for testing compilation"
    if $@;

my @pmdirs = qw(lib blib sbin bin);
all_pm_files_ok(all_pm_files(@pmdirs));

 view all matches for this distribution


W3C-Validator-Server

 view release on metacpan or  search on metacpan

t/00-load.t  view on Meta::CPAN

use lib qw(lib);
use Test::More;
eval 'use Test::Compile;1' or plan skip_all => 'Test::Compile required';
all_pm_files_ok();

 view all matches for this distribution



( run in 1.404 second using v1.01-cache-2.11-cpan-4face438c0f )