Skip to content

Commit b7141df

Browse files
charsbardaxim
authored andcommitted
files in xt/ should be ignored when we check prereq matches use
1 parent 64b3dff commit b7141df

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Changes

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
Changes - Revision history for Module-CPANTS-Analyse
66

7+
=head2 0.88 (QA Hackathon 2013)
8+
9+
=over
10+
11+
=item numerous fixes for a smoother operation of www-cpants
12+
(L<charsbar|https://metacpan.org/author/ishigaki>)
13+
14+
=back
15+
716
=head2 0.87 2013-02-12
817

918
=over

lib/Module/CPANTS/Kwalitee/Uses.pm

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ sub analyse {
2121
my $distdir=$me->distdir;
2222
my $modules=$me->d->{modules};
2323
my $files=$me->d->{files_array};
24-
my @tests=grep {m|^x?t\b.*\.t|} @$files;
24+
25+
# NOTE: all files in xt/ should be ignored because they are
26+
# for authors only and their dependencies may not be (and
27+
# often are not) listed in meta files.
28+
my @tests=grep {m|^t\b.*\.t|} @$files;
2529
$me->d->{test_files} = \@tests;
2630

2731
my %skip=map {$_->{module}=>1 } @$modules;

0 commit comments

Comments
 (0)