Relax requirement of a config stanza introduced in 7b71391b3
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 11_authortests.pl
CommitLineData
fc4b0448 1# temporary(?) until I get around to fix M::I wrt xt/
2# needs Module::Install::AuthorTests
3eval {
4 # this should not be necessary since the autoloader is supposed
5 # to work, but there were reports of it failing
6 require Module::Install::AuthorTests;
7 recursive_author_tests (qw/xt/);
8 1;
9} || do {
10 if (! $args->{skip_author_deps}) {
11 my $err = $@;
12
13 # better error message in case of missing dep
14 eval { require Module::Install::AuthorTests }
df65d4da 15 || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL in author mode (or add --skip-author-deps):\n\n$@\n";
fc4b0448 16
17 die $err;
18 }
19};
20
21# keep the Makefile.PL eval happy
221;