Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit e609547

Browse files
committed
add release tests
1 parent cde2ec2 commit e609547

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

MANIFEST.SKIP

+1
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,4 @@ pogl_gl_funcs.txt
6161
utils/glversion(\.exe|\.o.*|\.txt|)$
6262
utils/glxinfo.c
6363
test.png
64+
^xt/

xt/00-check-changelog.t

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
use Test::More tests => 1;
2+
3+
use strict;
4+
use warnings;
5+
6+
use CPAN::Changes;
7+
use Data::Dumper;
8+
9+
my $changes = CPAN::Changes->load('Changes');
10+
11+
ok($changes);
12+
13+
my @releases = map { +{ $_->version => $_->date } } $changes->releases;
14+
15+
note Dumper \@releases;
16+
17+
done_testing;

xt/manifest.t

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
use strict;
2+
use warnings;
3+
use Test::More;
4+
use ExtUtils::Manifest;
5+
6+
unless ( $ENV{RELEASE_TESTING} ) {
7+
plan( skip_all => "Author tests not required for installation" );
8+
}
9+
plan tests => 2;
10+
11+
is_deeply [ ExtUtils::Manifest::manicheck() ], [], 'missing';
12+
is_deeply [ ExtUtils::Manifest::filecheck() ], [], 'extra';

0 commit comments

Comments
 (0)