File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 24
24
- name : Test Dependents
25
25
env :
26
26
TEST_DEPENDENTS : 1
27
+ PERL_TEST_DM_CPAN_VERBOSE : 1
27
28
run : prove -l xt/dependent-modules.t
Original file line number Diff line number Diff line change 1
- use strict ;
2
- use warnings ;
1
+ use Test2::V0 ;
2
+ use strictures 2 ;
3
3
4
- use Test::DependentModules qw( test_modules ) ;
5
- use Test::More;
4
+ use Test::DependentModules ' test_all_dependents' ;
6
5
7
- my @modules = ( ' Perl::Critic ' ) ;
6
+ skip_all " ENV var TEST_DEPENDENTS not set " if not $ENV { TEST_DEPENDENTS } ;
8
7
9
- SKIP: {
10
- skip ' $ENV{TEST_DEPENDENTS} not set' , scalar @modules
11
- unless $ENV {TEST_DEPENDENTS };
12
- test_modules(@modules );
13
-
14
- }
15
-
16
- done_testing();
8
+ test_all_dependents PPI => { exclude => qr / ^(Apache2-SSI|Devel-ebug-HTTP)$ / };
You can’t perform that action at this time.
0 commit comments