This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
allow buildtoc to find libraries after chdir into pod/
[perl5.git] / t / porting / authors.t
CommitLineData
2218aaa9
JV
1#!./perl -w
2
3# Test that there are no missing authors in AUTHORS
4BEGIN {
5 chdir '..' unless -d 't';
6 unshift @INC, 'lib';
7}
8
9use strict;
10use warnings;
11
12if (! -d '.git' ) {
13 print "1..0 # SKIP: not being run from a git checkout\n";
14 exit 0;
15}
16
38a188f0 17my $dotslash = $^O eq "MSWin32" ? ".\\" : "./";
946fbe37 18system("git log --pretty=fuller | ${dotslash}perl -Ilib Porting/checkAUTHORS.pl --tap -");
2218aaa9
JV
19
20# EOF