diff options
author | Jesse Vincent <jesse@bestpractical.com> | 2009-08-02 16:17:08 +0100 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2009-08-03 10:05:20 +0100 |
commit | 942d1a9e301c239cf22ff455ba4b76c52fa8ec85 (patch) | |
tree | 5effde05c40eb4f32fb3aa807127e9816cff3255 /t | |
parent | 61a7d4fdb04e98c5b2c76e1a5b406b5395fae945 (diff) | |
download | perl-942d1a9e301c239cf22ff455ba4b76c52fa8ec85.tar.gz |
Clean up the new maintainers.t to be a bit more sensible about paths
The previous version of the invocation ignore the fact that we chdir,
more libs might be required.
Diffstat (limited to 't')
-rw-r--r-- | t/lib/maintainers.t | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/t/lib/maintainers.t b/t/lib/maintainers.t index 6948136ee0..4a6ed26a6e 100644 --- a/t/lib/maintainers.t +++ b/t/lib/maintainers.t @@ -2,18 +2,21 @@ # Test that there are no missing Maintainers in Maintainers.PL - BEGIN { - chdir 't' if -d 't'; - @INC = qw(../lib ../Porting); + # This test script uses a slightly atypical invocation of the 'standard' + # core testing setup stanza. + # The existing porting tools which manage the Maintainers file all + # expect to be run from the root + # XXX that should be fixed + + chdir '..' unless -d 't'; + @INC = qw(lib Porting); } use strict; use warnings; use Maintainers qw(show_results process_options finish_tap_output); -chdir(".."); # The existing porting tools all expect to be run from the root -# XXX that should be fixed { local @ARGV = qw|--tap-output --checkmani|; |