view release on metacpan or search on metacpan
t/00-compile-pm.t view on Meta::CPAN
view all matches for this distribution
345678
view release on metacpan or search on metacpan
t/00compile.t view on Meta::CPAN
view all matches for this distribution
234567
view release on metacpan or search on metacpan
inc/Module/Install/StandardTests.pm view on Meta::CPAN
view all matches for this distribution
727374757677787980
BEGIN {
eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
}
/);
}
view release on metacpan or search on metacpan
t/_compile.t view on Meta::CPAN
view all matches for this distribution
234567use
warnings;
use
Test::More;
eval
"use Test::Compile"
;
plan
skip_all
=>
"Test::Compile required for testing compilation"
if
$@;
all_pm_files_ok();
view release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
111213141516eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
view release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
xt/author/00_compile.t view on Meta::CPAN
view all matches for this distribution
234567
view release on metacpan or search on metacpan
inc/Module/Install/StandardTests.pm view on Meta::CPAN
view all matches for this distribution
727374757677787980
BEGIN {
eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
}
/);
}
view release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
8910111213eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
view release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
8910111213eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
view release on metacpan or search on metacpan
t/00-compile.t view on Meta::CPAN
view all matches for this distribution
3456789101112BEGIN {
eval
"use Test::Compile 0.08"
;
Test::More->builder->BAIL_OUT(
"Test::Compile 0.08 required for testing compilation"
)
if
$@;
all_pm_files_ok();
}
eval
{
require
'DBIx::TxnInsert'
};
diag(
"Testing DBICx::TxnInsert $DBICx::TxnInsert::VERSION, Perl $], $^X"
);
view release on metacpan or search on metacpan
t/compile.t view on Meta::CPAN
view all matches for this distribution
123456#!/usr/bin/perl
use
Test::More;
use
Test::Compile;
all_pm_files_ok || BAIL_OUT (
"You've got compilation issues!"
);
view release on metacpan or search on metacpan
t/00-compile.t view on Meta::CPAN
view all matches for this distribution
12345
view release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
inc/Module/Install/StandardTests.pm view on Meta::CPAN
view all matches for this distribution
727374757677787980
BEGIN {
eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
}
/);
}
view release on metacpan or search on metacpan
t/01compile.t view on Meta::CPAN
view all matches for this distribution
2021222324252627282930}
# exclude linked modules
my
@files
=
grep
{ filter(
$_
) } Test::Compile::all_pm_files(
'lib'
);
Test::Compile::all_pm_files_ok(
@files
);
# filename-based filter
sub
filter {
if
(!
$Config
{usethreads} ||
$Config
{usethreads} ne
'define'
) {
view release on metacpan or search on metacpan
inc/Module/Install/StandardTests.pm view on Meta::CPAN
view all matches for this distribution
727374757677787980
BEGIN {
eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
}
/);
}
view release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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 release on metacpan or search on metacpan
xt/author/00_compile.t view on Meta::CPAN
view all matches for this distribution
234567
view release on metacpan or search on metacpan
t/dist/compile-pm.t view on Meta::CPAN
view all matches for this distribution
202122232425262728if
(
$EVAL_ERROR
) {
plan
skip_all
=>
'Test::Compile not installed'
;
}
else
{
Test::Compile->
import
;
all_pm_files_ok(all_pm_files(
qw(blib)
));
}
1;
view release on metacpan or search on metacpan
t/00-compile-pm.t view on Meta::CPAN
view all matches for this distribution
202122232425262728if
(
$EVAL_ERROR
) {
plan
skip_all
=>
'Test::Compile not installed'
;
}
else
{
Test::Compile->
import
;
all_pm_files_ok(all_pm_files(
qw(blib)
));
}
1;
view release on metacpan or search on metacpan
t/00-compile-pm.t view on Meta::CPAN
view all matches for this distribution
202122232425262728if
(
$EVAL_ERROR
) {
plan
skip_all
=>
'Test::Compile not installed'
;
}
else
{
Test::Compile->
import
;
all_pm_files_ok(all_pm_files(
qw(blib)
));
}
1;
view release on metacpan or search on metacpan
t/000_standard__compile.t view on Meta::CPAN
view all matches for this distribution
678910111213BEGIN {
eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
}
view release on metacpan or search on metacpan
inc/Module/Install/StandardTests.pm view on Meta::CPAN
view all matches for this distribution
727374757677787980
BEGIN {
eval
"use Test::Compile"
;
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation"
)
if
$@;
all_pm_files_ok();
}
/);
}
view release on metacpan or search on metacpan
t/00_compile.t view on Meta::CPAN
view all matches for this distribution
456789eval
"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
));