X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FModule%2FBuild.pm;h=8ff3eab2671e1d9676ebd5b5b496f39674137c2e;hb=65395b02d2b87b841bc0ff0204dc0986c5a2eaee;hp=5ae8d804f7fef18514bf899af10f86208d6e804f;hpb=ad1ae84abdea7df2c0b38f3a50dee3f8de84e8f7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Module/Build.pm b/lib/Module/Build.pm index 5ae8d80..8ff3eab 100644 --- a/lib/Module/Build.pm +++ b/lib/Module/Build.pm @@ -15,7 +15,7 @@ use Module::Build::Base; use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); -$VERSION = '0.2808'; +$VERSION = '0.31012'; $VERSION = eval $VERSION; # Okay, this is the brute-force method of finding out what kind of @@ -30,15 +30,18 @@ my %OSTYPES = qw( dynixptx Unix freebsd Unix linux Unix + haiku Unix hpux Unix irix Unix darwin Unix machten Unix midnightbsd Unix + mirbsd Unix next Unix openbsd Unix netbsd Unix dec_osf Unix + nto Unix svr4 Unix svr5 Unix sco_sv Unix @@ -49,7 +52,9 @@ my %OSTYPES = qw( cygwin Unix os2 Unix interix Unix - + gnu Unix + gnukfreebsd Unix + dos Windows MSWin32 Windows @@ -227,10 +232,8 @@ C), in which case their values last only for the lifetime of that command. Per-action command line parameters take precedence over parameters specified at C time. -The build process also relies heavily on the C module, and -all the key=value pairs in C are available in - -C<< $self->{config} >>. If the user wishes to override any of the +The build process also relies heavily on the C module. +If the user wishes to override any of the values in C, she may specify them like so: perl Build.PL --config cc=gcc --config ld=gcc @@ -524,7 +527,7 @@ for a bug report. [version 0.28] This action is identical to the C action. In the future, -though, if C starts writing to the file file +though, when C starts writing to the file F<$(INSTALLARCHLIB)/perllocal.pod>, C won't, and that will be the only difference between them. @@ -559,10 +562,10 @@ F file (See L for details) [version 0.01] -This will use C to run any regression tests and report -their results. Tests can be defined in the standard places: a file -called C in the top-level directory, or several files ending -with C<.t> in a C directory. +This will use C or C to run any regression +tests and report their results. Tests can be defined in the standard +places: a file called C in the top-level directory, or several +files ending with C<.t> in a C directory. If you want tests to be 'verbose', i.e. show details of test execution rather than just summary information, pass the argument C. @@ -570,6 +573,14 @@ rather than just summary information, pass the argument C. If you want to run tests under the perl debugger, pass the argument C. +If you want to have Module::Build find test files with different file +name extensions, pass the C argument with an array +of extensions, such as C<[qw( .t .s .z )]>. + +If you want test to be run by C, rather than C, +pass the argument C as an array reference of arguments to +pass to the TAP::Harness constructor. + In addition, if a file called C exists in the top-level directory, this file will be executed as a Perl script and its output will be shown to the user. This is a good place to put speed tests or @@ -613,7 +624,7 @@ enumerate them in the test_types parameter. ... test_types => { special => '.st', - author => '.at', + author => ['.at', '.pt' ], }, ...