Commit | Line | Data |
fc4b0448 |
1 | # temporary(?) until I get around to fix M::I wrt xt/ |
2 | # needs Module::Install::AuthorTests |
3 | eval { |
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 } |
15 | || die "\nYou need Module::Install::AuthorTests installed to run this Makefile.PL in author mode (or supply --skip_author_deps):\n\n$@\n"; |
16 | |
17 | die $err; |
18 | } |
19 | }; |
20 | |
21 | # keep the Makefile.PL eval happy |
22 | 1; |