Fix incorrect handling of $? in travis preconf script
[dbsrgits/DBIx-Class.git] / xt / pod.t
CommitLineData
dc4600b2 1use warnings;
2use strict;
3
0fe5201a 4use Test::More;
dc4600b2 5use lib qw(t/lib);
6use DBICTest;
7
a109c954 8require DBIx::Class;
9unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_pod') ) {
10 my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_pod');
20884f55 11 $ENV{RELEASE_TESTING}
a109c954 12 ? die ("Failed to load release-testing module requirements: $missing")
13 : plan skip_all => "Test needs: $missing"
dc4600b2 14}
0fe5201a 15
47589465 16Test::Pod::all_pod_files_ok(qw( .generated_pod lib ));