While trying to install the latest PPI from svn, I noticed that running
'dmake test' passed, and 'prove -b t/' failed.

As more and more people use Module::Install, it seems more and more
transient build/test related modules are being stuffed in the inc/
directory.

Given the talk about installers being installers (dmake) and testers
being testers (prove), what is the correct behavior in this situation?

Should the tests be skipping when these modules aren't found, and stop
assuming I'm doing a 'make test' instead of a 'prove'?

Should prove -l or -b look for an inc/ directory as well?

And who should get this nice shiny new RT of mine? :-)

-=Chris

> C:\PPI-1.118>prove -b t/
> t\01_compile.....................ok
> t\02_api.........................Can't locate Test/ClassAPI.pm in @INC (@INC 
> contains: blib\arch blib\lib C:/strawberry-
> perl/perl/lib C:/strawberry-perl/perl/site/lib .) at t\02_api.t line 19.
> BEGIN failed--compilation aborted at t\02_api.t line 19.
> t\02_api.........................dubious
>         Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 1-2192
>         Failed 2192/2192 tests, 0.00% okay
> t\03_empiric.....................ok
> t\04_element.....................ok
> t\05_lexer_practical.............ok
> t\06_round_trip..................ok
> t\07_token.......................ok
> t\08_regression..................ok
> t\09_normal......................ok
> t\10_statement...................ok
> t\11_util........................ok
> t\12_location....................ok
> t\13_data........................ok
> t\14_charsets....................ok
>         11/11 skipped: Unicode-incompatible locale in use
> t\15_transform...................ok
> t\16_xml_compatibility...........ok
> t\17_storable....................ok
> t\18_cache.......................Can't locate File/Remove.pm in @INC (@INC 
> contains: blib\arch blib\lib C:/strawberry-pe
> rl/perl/lib C:/strawberry-perl/perl/site/lib .) at t\18_cache.t line 14.
> BEGIN failed--compilation aborted at t\18_cache.t line 14.
> t\18_cache.......................dubious
>         Test returned status 2 (wstat 512, 0x200)
> t\19_selftesting.................Can't locate Class/Inspector.pm in @INC 
> (@INC contains: blib\arch blib\lib C:/strawberr
> y-perl/perl/lib C:/strawberry-perl/perl/site/lib .) at t\19_selftesting.t 
> line 16.
> BEGIN failed--compilation aborted at t\19_selftesting.t line 16.
> t\19_selftesting.................dubious
>         Test returned status 2 (wstat 512, 0x200)
> t\20_tokenizer_regression........ok
> t\21_exhaustive..................ok
> t\22_readonly....................ok
> t\23_file........................ok
> t\99_author......................skipped
>         all skipped: Author tests not required for installation
> t\99_pod.........................skipped
>         all skipped: Test::Pod 1.00 required for testing POD
> t\ppi_element....................ok
> t\ppi_node.......................ok
> t\ppi_normal.....................ok
> t\ppi_statement_variable.........ok
> t\ppi_token__quoteengine_full....ok
> t\ppi_token_quote................ok
> t\ppi_token_quote_double.........ok
> t\ppi_token_quote_interpolate....ok
> t\ppi_token_quote_literal........ok
> t\ppi_token_quote_single.........ok
> Failed Test        Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t\02_api.t            2   512  2192 4384 200.00%  1-2192
> t\18_cache.t          2   512    ??   ??       %  ??
> t\19_selftesting.t    2   512    ??   ??       %  ??
> 2 tests and 11 subtests skipped.
> Failed 3/35 test scripts, 91.43% okay. 2192/5924 subtests failed, 63.00% okay.
> 
> C:\PPI-1.118>


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to