PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\cygwin\bin;C:\cpanfly-5.16\var\megalib\bin;C:\Perl64-5.16\site\bin;C:\Perl64-5.16\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\PROGRA~2\Perforce;C:\instantclient_11_2;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Start 2014-03-29T05:38:43 ActivePerl-1600 CPAN-2.00 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:/CPANFL~1.16/var/libs/bin;C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\cygwin\bin;C:\CPANFL~1.16\var\megalib\bin;C:\Perl64-5.16\site\bin;C:\Perl64-5.16\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\INSTAN~1;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Reading 'C:\cpanfly-5.16\var\cpan\Metadata' Database was generated on Sat, 29 Mar 2014 09:06:18 GMT Running make for H/HI/HITODE/App-PRT-0.07.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/App-PRT-0.07.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/CHECKSUMS Checksum for C:\cpanfly-5.16\var\cpan\sources\authors\id\H\HI\HITODE\App-PRT-0.07.tar.gz ok App-PRT-0.07/Build.PL App-PRT-0.07/Changes App-PRT-0.07/LICENSE App-PRT-0.07/META.json App-PRT-0.07/README.md App-PRT-0.07/bin/prt App-PRT-0.07/cpanfile App-PRT-0.07/lib/App/PRT.pm App-PRT-0.07/lib/App/PRT/CLI.pm App-PRT-0.07/lib/App/PRT/Collector/Files.pm App-PRT-0.07/lib/App/PRT/Command/DeleteMethod.pm App-PRT-0.07/lib/App/PRT/Command/Help.pm App-PRT-0.07/lib/App/PRT/Command/RenameClass.pm App-PRT-0.07/lib/App/PRT/Command/ReplaceToken.pm App-PRT-0.07/minil.toml App-PRT-0.07/t/App-PRT-CLI.t App-PRT-0.07/t/App-PRT-Collector-Files.t App-PRT-0.07/t/App-PRT-Command-DeleteMethod.t App-PRT-0.07/t/App-PRT-Command-Help.t App-PRT-0.07/t/App-PRT-Command-RenameClass.t App-PRT-0.07/t/App-PRT-Command-ReplaceToken.t App-PRT-0.07/t/App-PRT.t App-PRT-0.07/t/data/dinner/dinner.pl App-PRT-0.07/t/data/dinner/lib/My/Food.pm App-PRT-0.07/t/data/dinner/lib/My/Human.pm App-PRT-0.07/t/data/dinner/t/001-my-food._t App-PRT-0.07/t/data/dinner/t/My-Food._t App-PRT-0.07/t/data/hello_world/hello_world.pl App-PRT-0.07/t/data/inherit/inherit.pl App-PRT-0.07/t/test.pm App-PRT-0.07/t/test.t App-PRT-0.07/xt/perlcritic.t App-PRT-0.07/xt/perlcriticrc App-PRT-0.07/META.yml App-PRT-0.07/MANIFEST CPAN.pm: Building H/HI/HITODE/App-PRT-0.07.tar.gz >>> C:\Perl64-5.16\bin\perl.exe Build.PL compilet-ty56Q.c Creating library compilet.lib and object compilet.exp Generating code Finished generating code Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-PRT' version '0.07' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- HITODE/App-PRT-0.07.tar.gz ---- Getopt::Long [requires] Running Build test Delayed until after prerequisites Running test for module 'Getopt::Long' Running make for J/JV/JV/Getopt-Long-2.42.tar.gz Checksum for C:\cpanfly-5.16\var\cpan\sources\authors\id\J\JV\JV\Getopt-Long-2.42.tar.gz ok Getopt-Long-2.42/ Getopt-Long-2.42/lib/ Getopt-Long-2.42/lib/newgetopt.pl Getopt-Long-2.42/lib/Getopt/ Getopt-Long-2.42/lib/Getopt/Long.pm Getopt-Long-2.42/perl-Getopt-Long.spec Getopt-Long-2.42/META.json Getopt-Long-2.42/META.yml Getopt-Long-2.42/examples/ Getopt-Long-2.42/examples/skel4.pl Getopt-Long-2.42/examples/skel3.pl Getopt-Long-2.42/examples/skel1.pl Getopt-Long-2.42/examples/parsetime.pl Getopt-Long-2.42/examples/README Getopt-Long-2.42/examples/skel2.pl Getopt-Long-2.42/MANIFEST Getopt-Long-2.42/Makefile.PL Getopt-Long-2.42/CHANGES Getopt-Long-2.42/t/ Getopt-Long-2.42/t/gol-compat.t Getopt-Long-2.42/t/gol-basic.t Getopt-Long-2.42/t/gol-xargv.t Getopt-Long-2.42/t/gol-xstring.t Getopt-Long-2.42/t/gol-linkage.t Getopt-Long-2.42/t/gol-oo.t Getopt-Long-2.42/README Getopt-Long-2.42/INSTALL CPAN.pm: Building J/JV/JV/Getopt-Long-2.42.tar.gz >>> C:\Perl64-5.16\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Generating a nmake-style Makefile Writing Makefile for Getopt::Long Writing MYMETA.yml and MYMETA.json >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp lib/Getopt/Long.pm blib\lib/Getopt/Long.pm cp lib/newgetopt.pl blib\lib/newgetopt.pl JV/Getopt-Long-2.42.tar.gz nmake -- OK Running make test >>> nmake test TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\Perl64-5.16\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t t/gol-basic.t .... 1..9 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok t/gol-compat.t ... 1..9 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok t/gol-linkage.t .. 1..33 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok t/gol-oo.t ....... 1..14 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok t/gol-xargv.t .... 1..10 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok t/gol-xstring.t .. 1..14 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok All tests successful. Files=6, Tests=89, 0 wallclock secs ( 0.09 usr + 0.01 sys = 0.11 CPU) Result: PASS JV/Getopt-Long-2.42.tar.gz nmake test TEST_VERBOSE=1 -- OK PPD for Getopt-Long-2.42 already made Running Build for H/HI/HITODE/App-PRT-0.07.tar.gz Prepending C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-xv9XMs/blib/arch C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-xv9XMs/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory C:\cpanfly-5.16\var\cpan\build\App-PRT-0.07-VfgUtc Prepending C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-xv9XMs/blib/arch C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-xv9XMs/blib/lib to PERL5LIB for 'make' CPAN.pm: Building H/HI/HITODE/App-PRT-0.07.tar.gz >>> C:\Perl64-5.16\bin\perl.exe ./Build Building App-PRT HITODE/App-PRT-0.07.tar.gz C:\Perl64-5.16\bin\perl.exe ./Build -- OK Prepending C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-xv9XMs/blib/arch C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-xv9XMs/blib/lib to PERL5LIB for 'test' Running Build test >>> C:\Perl64-5.16\bin\perl.exe ./Build test verbose=1 t\App-PRT-CLI.t ................... ok 1 - use App::PRT::CLI; ok 2 - ucfirst ok 3 - separate by _ ok 4 - An object of class 'App::PRT::CLI' isa 'App::PRT::CLI' # Subtest: when empty input ok 1 - parse ok 2 - 'default command is help' isa 'App::PRT::Command::Help' ok 3 - parse 1..3 ok 5 - when empty input # Subtest: when command specified ok 1 - ReplaceToken command loaded ok 2 - Files collector loaded 1..2 ok 6 - when command specified # Subtest: when source and destination specified ok 1 - ReplaceToken command loaded and foo => bar registered ok 2 - Files collector loaded 1..2 ok 7 - when source and destination specified # Subtest: when source, destination, target files specified ok 1 - ReplaceToken command loaded and foo => bar registered ok 2 - Files collector loaded and files are registered 1..2 ok 8 - when source, destination, target files specified # Subtest: when invalid command specified ok 1 - died 1..1 ok 9 - when invalid command specified # Subtest: command which doesn't handle files ok 1 - execute called 1..1 ok 10 - command which doesn't handle files # Subtest: command which handles files ok 1 - execute called ok 2 - called with file 1..2 ok 11 - command which handles files 1..11 ok t\App-PRT-Collector-Files.t ....... ok 1 - use App::PRT::Collector::Files; # Subtest: when no files specified ok 1 - collect 1..1 ok 2 - when no files specified # Subtest: when files specified ok 1 - collect 1..1 ok 3 - when files specified # Subtest: when not existing file specified ok 1 - died 1..1 ok 4 - when not existing file specified ok 5 - specified files are returned ok 6 - An object of class 'App::PRT::Collector::Files' isa 'App::PRT::Collector::Files' 1..6 ok t\App-PRT-Command-DeleteMethod.t .. ok 1 - use App::PRT::Command::DeleteMethod; # Subtest: target file ok 1 - name removed 1..1 ok 2 - target file # Subtest: another file ok 1 - nothing happen 1..1 ok 3 - another file ok 4 - DeleteMethod handles files ok 5 - An object of class 'App::PRT::Command::DeleteMethod' isa 'App::PRT::Command::DeleteMethod' # Subtest: when class and method specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 6 - when class and method specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 7 - when arguments are not enough ok 8 - register ok 9 - register 1..9 ok t\App-PRT-Command-Help.t .......... ok 1 - use App::PRT::Command::Help; usage: prt Examples: prt replace_token foo bar *.pm replace tokens with content 'foo' with 'bar' in *.pm. prt rename_class Foo Bar lib/*.pm Rename Foo class to Bar. This command will rename lib/Foo.pm to lib/Bar.pm. ok 2 - execute ok 3 - Help doesn't handle files ok 4 - An object of class 'App::PRT::Command::Help' isa 'App::PRT::Command::Help' ok 5 - NOP 1..5 ok # Failed test 'without directory' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with directory' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with extname' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'Bar.txt' # expected: './Bar.txt' # Failed test 'move deeper' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'Foo\Bazz.pm' # expected: 'Foo/Bazz.pm' # Failed test 'move lighter' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'Foo\Bar.pm' # expected: 'Foo/Bar.pm' # Failed test 'absolute path' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: '\tmp\lib\Foo\Bar.pm' # expected: '/tmp/lib/Foo/Bar.pm' # Failed test 't/lib' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 't\lib\Test\Foo\Bar.pm' # expected: 't/lib/Test/Foo/Bar.pm' # Failed test 'test file' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 't\Bar.t' # expected: 't/Bar.t' # Failed test 'separated with -, _' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'D-E_F.pm' # expected: './D-E_F.pm' # Failed test 'separated with -, _, move deeper' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'A-B-C-D.pm' # expected: './A-B-C-D.pm' # Failed test 'separated with -, _, move lighter' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'A-B.pm' # expected: './A-B.pm' # Failed test 'separated with -, _, mixed with directory' # at t\App-PRT-Command-RenameClass.t line 46. # (in t::App::PRT::Command::RenameClass->_destination_file) # got: 'D\E-F-G.pm' # expected: 'D/E-F-G.pm' # Looks like you failed 12 tests of 26. t\App-PRT-Command-RenameClass.t ... ok 1 - use App::PRT::Command::RenameClass; not ok 2 - without directory not ok 3 - with directory not ok 4 - with extname not ok 5 - move deeper not ok 6 - move lighter not ok 7 - absolute path not ok 8 - t/lib not ok 9 - test file not ok 10 - separated with -, _ not ok 11 - separated with -, _, move deeper not ok 12 - separated with -, _, move lighter not ok 13 - separated with -, _, mixed with directory # Subtest: target class ok 1 - Food.pm doesn't exists ok 2 - Meal.pm exists ok 3 - package statement was rewritten 1..3 ok 14 - target class # Subtest: client file ok 1 - dinner.pl exists ok 2 - use statement and class-method invocation were rewritten 1..2 ok 15 - client file ok 16 - Food._t doesn't exists ok 17 - Meal._t exists ok 18 - package statement replaced ok 19 - test replaced # Subtest: target class ok 1 - script file exists ok 2 - use parent, use base statements were rewritten 1..2 ok 20 - target class ok 21 - RenameClass handles files ok 22 - An object of class 'App::PRT::Command::RenameClass' isa 'App::PRT::Command::RenameClass' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 23 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 24 - when arguments are not enough ok 25 - register rule ok 26 - register rule 1..26 Dubious, test returned 12 (wstat 3072, 0xc00) Failed 12/26 subtests t\App-PRT-Command-ReplaceToken.t .. ok 1 - use App::PRT::Command::ReplaceToken; # Subtest: nothing happen when no rules are specified ok 1 - execute 1..1 ok 2 - nothing happen when no rules are specified # Subtest: tokens will be replaced when a rules is specified ok 1 - execute 1..1 ok 3 - tokens will be replaced when a rules is specified ok 4 - execute when many rules ok 5 - ReplaceToken handles files ok 6 - An object of class 'App::PRT::Command::ReplaceToken' isa 'App::PRT::Command::ReplaceToken' # Subtest: when source and destination specified ok 1 - registered ok 2 - parse_arguments returns rest arguments 1..2 ok 7 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 8 - when arguments are not enough ok 9 - empty ok 10 - not registered ok 11 - registered ok 12 - registered ok 13 - updated ok 14 - added 1..14 ok t\App-PRT.t ....................... ok 1 - use App::PRT; ok 2 - welcome 1..2 ok t\test.t .......................... # Subtest: valid input ok 1 - prepare test code ok 2 - directory exists ok 3 - hello_world.pl exists 1..3 ok 1 - valid input # Subtest: valid input ok 1 - dies when specified code is not prepared 1..1 ok 2 - valid input 1..2 ok Test Summary Report ------------------- t\App-PRT-Command-RenameClass.t (Wstat: 3072 Tests: 26 Failed: 12) Failed tests: 2-13 Non-zero exit status: 12 Files=8, Tests=75, 9 wallclock secs ( 0.08 usr + 0.00 sys = 0.08 CPU) Result: FAIL Failed 1/8 test programs. 12/75 subtests failed. HITODE/App-PRT-0.07.tar.gz C:\Perl64-5.16\bin\perl.exe ./Build test verbose=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports HITODE/App-PRT-0.07.tar.gz Finished 2014-03-29T05:39:26