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-09-02T03:20:20 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 Tue, 02 Sep 2014 08:29:02 GMT Running make for H/HI/HITODE/App-PRT-0.19.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/App-PRT-0.19.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.19.tar.gz ok App-PRT-0.19/Build.PL App-PRT-0.19/Changes App-PRT-0.19/LICENSE App-PRT-0.19/META.json App-PRT-0.19/README.md App-PRT-0.19/bin/prt App-PRT-0.19/cpanfile App-PRT-0.19/lib/App/PRT.pm App-PRT-0.19/lib/App/PRT/CLI.pm App-PRT-0.19/lib/App/PRT/Collector/AllFiles.pm App-PRT-0.19/lib/App/PRT/Collector/Files.pm App-PRT-0.19/lib/App/PRT/Collector/GitDirectory.pm App-PRT-0.19/lib/App/PRT/Command/AddMethod.pm App-PRT-0.19/lib/App/PRT/Command/AddUse.pm App-PRT-0.19/lib/App/PRT/Command/DeleteMethod.pm App-PRT-0.19/lib/App/PRT/Command/MoveClassMethod.pm App-PRT-0.19/lib/App/PRT/Command/RenameClass.pm App-PRT-0.19/lib/App/PRT/Command/RenameNameSpace.pm App-PRT-0.19/lib/App/PRT/Command/ReplaceToken.pm App-PRT-0.19/lib/App/PRT/Util/DestinationFile.pm App-PRT-0.19/minil.toml App-PRT-0.19/t/App-PRT-CLI.t App-PRT-0.19/t/App-PRT-Collector-AllFiles.t App-PRT-0.19/t/App-PRT-Collector-Files.t App-PRT-0.19/t/App-PRT-Command-AddMethod.t App-PRT-0.19/t/App-PRT-Command-AddUse.t App-PRT-0.19/t/App-PRT-Command-DeleteMethod.t App-PRT-0.19/t/App-PRT-Command-MoveClassMethod.t App-PRT-0.19/t/App-PRT-Command-RenameClass.t App-PRT-0.19/t/App-PRT-Command-RenameNameSpace.t App-PRT-0.19/t/App-PRT-Command-ReplaceToken.t App-PRT-0.19/t/App-PRT-Util-DestinationFile.t App-PRT-0.19/t/App-PRT.t App-PRT-0.19/t/App-Prt-Collector-GitDirectory.t App-PRT-0.19/t/data/contain_ignores/_build/Build.pm App-PRT-0.19/t/data/contain_ignores/app.psgi App-PRT-0.19/t/data/contain_ignores/blib/Blib.pm App-PRT-0.19/t/data/contain_ignores/cpanfile App-PRT-0.19/t/data/contain_ignores/eg/eg.pl App-PRT-0.19/t/data/contain_ignores/fatlib/Fatlib.pm App-PRT-0.19/t/data/contain_ignores/lib/Foo.pm App-PRT-0.19/t/data/contain_ignores/lib/Foo/Bar.pm App-PRT-0.19/t/data/contain_ignores/local/Local.pm App-PRT-0.19/t/data/contain_ignores/share/share.pl App-PRT-0.19/t/data/contain_ignores/t/test.t App-PRT-0.19/t/data/dinner/dinner.pl App-PRT-0.19/t/data/dinner/lib/My/Food.pm App-PRT-0.19/t/data/dinner/lib/My/Human.pm App-PRT-0.19/t/data/dinner/lib/Your/Food.pm App-PRT-0.19/t/data/dinner/t/001-my-food._t App-PRT-0.19/t/data/dinner/t/My-Food._t App-PRT-0.19/t/data/greeting/lib/Bye.pm App-PRT-0.19/t/data/greeting/lib/Greeting.pm App-PRT-0.19/t/data/greeting/lib/Hi.pm App-PRT-0.19/t/data/greeting/no_use.pl App-PRT-0.19/t/data/greeting/no_use_but_package.pl App-PRT-0.19/t/data/greeting/use_greeting.pl App-PRT-0.19/t/data/greeting/use_greeting_and_hi.pl App-PRT-0.19/t/data/hello_world/hello_world.pl App-PRT-0.19/t/data/inherit/inherit.pl App-PRT-0.19/t/data/method_call_with_whitespace/hello.pl App-PRT-0.19/t/data/method_with_comment/FoodWithComment.pm App-PRT-0.19/t/data/package_in_block/multi_packages.pl App-PRT-0.19/t/data/package_in_block/package_block_statement.pl App-PRT-0.19/t/data/package_in_block/package_in_block.pl App-PRT-0.19/t/data/readme/README.md App-PRT-0.19/t/test.pm App-PRT-0.19/t/test.t App-PRT-0.19/xt/perlcritic.t App-PRT-0.19/xt/perlcriticrc App-PRT-0.19/META.yml App-PRT-0.19/MANIFEST CPAN.pm: Building H/HI/HITODE/App-PRT-0.19.tar.gz >>> C:\Perl64-5.16\bin\perl.exe Build.PL compilet-Vozn4.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.19' cp META.json MYMETA.json cp META.yml MYMETA.yml ---- Unsatisfied dependencies detected during ---- ---- HITODE/App-PRT-0.19.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 "my" variable $obsolete masks earlier declaration in same scope at Makefile.PL line 38. False [] range "\w-" in regex; marked by <-- HERE in m/%define modname [\w- <-- HERE --]+/ at Makefile.PL line 112. closedir() attempted on invalid dirhandle GEN0 at C:/Perl64-5.16/lib/DirHandle.pm line 51. 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, 1 wallclock secs ( 0.06 usr + 0.02 sys = 0.08 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.19.tar.gz Prepending C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-swTWAo/blib/arch C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-swTWAo/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory C:\cpanfly-5.16\var\cpan\build\App-PRT-0.19-uOwpUO Prepending C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-swTWAo/blib/arch C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-swTWAo/blib/lib to PERL5LIB for 'make' CPAN.pm: Building H/HI/HITODE/App-PRT-0.19.tar.gz >>> C:\Perl64-5.16\bin\perl.exe ./Build Building App-PRT HITODE/App-PRT-0.19.tar.gz C:\Perl64-5.16\bin\perl.exe ./Build -- OK Prepending C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-swTWAo/blib/arch C:\cpanfly-5.16\var\cpan\build\Getopt-Long-2.42-swTWAo/blib/lib to PERL5LIB for 'test' Running Build test >>> C:\Perl64-5.16\bin\perl.exe ./Build test verbose=1 Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.16\var\megalib/Test/Mock/Guard.pm line 60. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.16\var\megalib/Test/Mock/Guard.pm line 141. 'git' is not recognized as an internal or external command, operable program or batch file. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.16\var\megalib/Test/Mock/Guard.pm line 60. Subroutine Cwd::getcwd redefined at C:\cpanfly-5.16\var\megalib/Test/Mock/Guard.pm line 141. # Child (when command specified, git directory) exited without calling finalize() # Failed test 'when command specified, git directory' # at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 281. # (in t::App::PRT::CLI->parse) # Failed test 'parse died (Cannot decide target files at lib/App/PRT/CLI.pm line 39.)' # at (eval 11) line 15. # (in t::App::PRT::CLI->parse) Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. # Failed test 'run died (You already have a child named (when command specified, git directory) running at C:\cpanfly-5.16\var\megalib/Test/More.pm line 770.)' # at (eval 11) line 15. # (in t::App::PRT::CLI->run) # Looks like you failed 3 tests of 10. # Looks like your test exited with 256 just after 10. t\App-PRT-CLI.t ...................... ok 1 - use App::PRT::CLI; ok 2 - ucfirst ok 3 - separate by _ # Subtest: alias ok 1 - rename_namespace is alias for rename_name_space. Namespace is not name space 1..1 ok 4 - alias ok 5 - An object of class 'App::PRT::CLI' isa 'App::PRT::CLI' # Subtest: when empty input ok 1 - parse 1..1 ok 6 - when empty input # Subtest: when command specified, not a git directory ok 1 - ReplaceToken command loaded ok 2 - parse 1..2 ok 7 - when command specified, not a git directory # Subtest: when command specified, git directory not ok 8 - when command specified, git directory not ok 9 - parse died (Cannot decide target files at lib/App/PRT/CLI.pm line 39.) not ok 10 - run died (You already have a child named (when command specified, git directory) running at C:\cpanfly-5.16\var\megalib/Test/More.pm line 770.) 1..10 Failed 3/10 subtests Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Collector-AllFiles.t ....... ok 1 - use App::PRT::Collector::AllFiles; ok 2 - all files are returned # Subtest: not existing directory ok 1 - collect 1..1 ok 3 - not existing directory # Subtest: directory without cpanfile ok 1 - not found 1..1 ok 4 - directory without cpanfile # Subtest: directory with cpanfile ok 1 - found from root directory ok 2 - found from sub directory 1..2 ok 5 - directory with cpanfile # Subtest: not existing directory ok 1 - find project root directory 1..1 ok 6 - not existing directory ok 7 - An object of class 'App::PRT::Collector::AllFiles' isa 'App::PRT::Collector::AllFiles' ok 8 - instantiate 1..8 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Collector-Files.t .......... ok 1 - use App::PRT::Collector::Files; # Subtest: when files specified ok 1 - collect 1..1 ok 2 - when files specified # Subtest: when not existing file specified ok 1 - died 1..1 ok 3 - when not existing file specified ok 4 - specified files are returned ok 5 - An object of class 'App::PRT::Collector::Files' isa 'App::PRT::Collector::Files' 1..5 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Command-AddMethod.t ........ ok 1 - use App::PRT::Command::AddMethod; # Subtest: target file ok 1 - sub one added to last 1..1 ok 2 - target file # Subtest: target file ok 1 - sub one added to last 1..1 ok 3 - target file ok 4 - An object of class 'App::PRT::Command::AddMethod' isa 'App::PRT::Command::AddMethod' ok 5 - register 1..5 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Command-AddUse.t ........... ok 1 - use App::PRT::Command::AddUse; # Subtest: script with use statement, not using Hi ok 1 - File exists ok 2 - Hi was added 1..2 ok 2 - script with use statement, not using Hi # Subtest: script, already using Hi ok 1 - File exists ok 2 - Hi was not added 1..2 ok 3 - script, already using Hi # Subtest: script without any use, but with package statement ok 1 - File exists ok 2 - Hi was added after package statement 1..2 ok 4 - script without any use, but with package statement ok 5 - An object of class 'App::PRT::Command::AddUse' isa 'App::PRT::Command::AddUse' # Subtest: package ok 1 - register 1..1 ok 6 - package # Subtest: package and arguments ok 1 - register 1..1 ok 7 - package and arguments 1..7 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Command-DeleteMethod.t ..... ok 1 - use App::PRT::Command::DeleteMethod; # Subtest: target file ok 1 - execute ok 2 - name removed ok 3 - deleted code stored 1..3 ok 2 - target file # Subtest: another file ok 1 - execute ok 2 - nothing happen 1..2 ok 3 - another file ok 4 - comment before method was deleted ok 5 - another comment was not deleted because previous token of sub name is whitespace ok 6 - 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 7 - when class and method specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 8 - when arguments are not enough ok 9 - register ok 10 - register 1..10 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Command-MoveClassMethod.t .. ok 1 - use App::PRT::Command::MoveClassMethod; ok 2 - source file exists ok 3 - use was Added, $class->good was replaced # Subtest: client script with use Greeting ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, use Hi was added 1..2 ok 4 - client script with use Greeting # Subtest: client script with use Greeting and Hi ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was not added 1..2 ok 5 - client script with use Greeting and Hi # Subtest: client script without Greeting or Hi ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was added after last use 1..2 ok 6 - client script without Greeting or Hi # Subtest: client script without Greeting or Hi, with package statement ok 1 - File exists ok 2 - calling Greeting\#hi was rewritten, Hi was added after package statement 1..2 ok 7 - client script without Greeting or Hi, with package statement ok 8 - README exists ok 9 - File exists ok 10 - hi method was removed ok 11 - method body stored ok 12 - destination method prepared ok 13 - destination file exists ok 14 - hello method was added, use GoodAfternoon was added because it may be necessary ok 15 - source file exists ok 16 - destination file exists ok 17 - hello was added, uses are copied ok 18 - destination file exists ok 19 - method and comment was added ok 20 - An object of class 'App::PRT::Command::MoveClassMethod' isa 'App::PRT::Command::MoveClassMethod' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse arguments ok 4 - parse arguments ok 5 - parse_arguments returns rest arguments 1..5 ok 21 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 22 - when arguments are not enough # Subtest: valid rule ok 1 - register rule ok 2 - register rule ok 3 - register rule ok 4 - register rule 1..4 ok 23 - valid rule # Subtest: when destination method name is same ok 1 - register rule ok 2 - register rule ok 3 - register rule ok 4 - register rule 1..4 ok 24 - when destination method name is same # Subtest: invalid syntax ok 1 - (?^:invalid format) ok 2 - (?^:invalid format) 1..2 ok 25 - invalid syntax 1..25 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. # Failed test 'returns destination file when success' # at t\App-PRT-Command-RenameClass.t line 34. # (in t::App::PRT::Command::RenameClass->execute) # got: 'C:\cpanfly-5.16\var\tmp\bbfzC_InHN\lib\My\Meal.pm' # expected: 'C:\cpanfly-5.16\var\tmp\bbfzC_InHN/lib/My/Meal.pm' # Looks like you failed 1 test of 4. # Failed test 'target class' # at t\App-PRT-Command-RenameClass.t line 63. # (in t::App::PRT::Command::RenameClass->execute) Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. # Failed test 'success' # at t\App-PRT-Command-RenameClass.t line 226. # (in t::App::PRT::Command::RenameClass->execute_rename_to_deeper_directory) # got: 'C:\cpanfly-5.16\var\tmp\DRdfdYmK7p\lib\My\Special\Great\Food.pm' # expected: 'C:\cpanfly-5.16\var\tmp\DRdfdYmK7p/lib/My/Special/Great/Food.pm' # Looks like you failed 1 test of 3. # Failed test 'target class' # at t\App-PRT-Command-RenameClass.t line 230. # (in t::App::PRT::Command::RenameClass->execute_rename_to_deeper_directory) Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. # Looks like you failed 2 tests of 18. t\App-PRT-Command-RenameClass.t ...... ok 1 - use App::PRT::Command::RenameClass; # Subtest: target class not ok 1 - returns destination file when success ok 2 - Food.pm doesn't exists ok 3 - Meal.pm exists ok 4 - package statement was rewritten 1..4 not ok 2 - target class # Subtest: client file ok 1 - returns source file when success and not moved ok 2 - dinner.pl exists ok 3 - use statement and class-method invocation were rewritten 1..3 ok 3 - client file ok 4 - README exists # Subtest: { package } style ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 5 - { package } style # Subtest: package { } style ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 6 - package { } style # Subtest: multi packages ok 1 - success ok 2 - script exists ok 3 - package statement replaced 1..3 ok 7 - multi packages # Subtest: target class not ok 1 - success ok 2 - Food.pm doesn't exists ok 3 - Special::Great::Food.pm exists 1..3 not ok 8 - target class ok 9 - Food._t doesn't exists ok 10 - Meal._t exists ok 11 - package statement replaced ok 12 - test replaced # Subtest: target class ok 1 - script file exists ok 2 - use parent, use base statements were rewritten 1..2 ok 13 - target class ok 14 - 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 15 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 16 - when arguments are not enough ok 17 - register rule ok 18 - register rule 1..18 Dubious, test returned 2 (wstat 512, 0x200) Failed 2/18 subtests Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Command-RenameNameSpace.t .. ok 1 - use App::PRT::Command::RenameNameSpace; ok 2 - classes under My:: are collected ok 3 - converted ok 4 - not match ok 5 - not match ok 6 - script exists ok 7 - My:: was moved to Our:: ok 8 - My::Food doesn't exist ok 9 - My::Human doesn't exist ok 10 - Our::Food exist ok 11 - Our::Human exist ok 12 - target class replaced ok 13 - not changed ok 14 - An object of class 'App::PRT::Command::RenameNameSpace' isa 'App::PRT::Command::RenameNameSpace' # Subtest: when source and destination specified ok 1 - parse arguments ok 2 - parse arguments ok 3 - parse_arguments returns rest arguments 1..3 ok 15 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 16 - when arguments are not enough ok 17 - register rule ok 18 - register rule 1..18 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT-Command-ReplaceToken.t ..... ok 1 - use App::PRT::Command::ReplaceToken; # Subtest: nothing happen when no rules are specified ok 1 - fails ok 2 - nothing changed 1..2 ok 2 - nothing happen when no rules are specified # Subtest: tokens will be replaced when a rules is specified ok 1 - success ok 2 - changed 1..2 ok 3 - tokens will be replaced when a rules is specified ok 4 - README exists ok 5 - execute replace token sequences ok 6 - new( in statement with My::Food was replaced # Subtest: only statement with My::Food was replaced ok 1 - execute with replace only statement which has token 1..1 ok 7 - only statement with My::Food was replaced # Subtest: only statement with My::Food was replaced ok 1 - target is `my ($class, $name) = @_;`, not subroutine 1..1 ok 8 - only statement with My::Food was replaced ok 9 - all hello are replaced ok 10 - 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 11 - when source and destination specified # Subtest: when source, destination, and --in-statement specified ok 1 - registered ok 2 - parse_arguments returns rest arguments 1..2 ok 12 - when source, destination, and --in-statement specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 13 - when arguments are not enough # Subtest: single token ok 1 - register rules ok 2 - register rules ok 3 - register rules ok 4 - register rules 1..4 ok 14 - single token # Subtest: multi tokens ok 1 - register rules ok 2 - register rules ok 3 - register rules ok 4 - register rules 1..4 ok 15 - multi tokens # Subtest: replace_only_statement_which_has_token ok 1 - register rules ok 2 - register rules 1..2 ok 16 - replace_only_statement_which_has_token 1..16 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. # Failed test 'without directory' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with directory' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.pm' # expected: './Bar.pm' # Failed test 'with extname' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Bar.txt' # expected: './Bar.txt' # Failed test 'move deeper' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Foo\Bazz.pm' # expected: 'Foo/Bazz.pm' # Failed test 'move lighter' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'Foo\Bar.pm' # expected: 'Foo/Bar.pm' # Failed test 'absolute path' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: '\tmp\lib\Foo\Bar.pm' # expected: '/tmp/lib/Foo/Bar.pm' # Failed test 't/lib' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 't\lib\Test\Foo\Bar.pm' # expected: 't/lib/Test/Foo/Bar.pm' # Failed test 'test file' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 't\Bar.t' # expected: 't/Bar.t' # Failed test 'separated with -, _' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'D-E_F.pm' # expected: './D-E_F.pm' # Failed test 'separated with -, _, move deeper' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'A-B-C-D.pm' # expected: './A-B-C-D.pm' # Failed test 'separated with -, _, move lighter' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'A-B.pm' # expected: './A-B.pm' # Failed test 'separated with -, _, mixed with directory' # at t\App-PRT-Util-DestinationFile.t line 27. # (in t::App::PRT::Util::DestinationFile->destination_file) # got: 'D\E-F-G.pm' # expected: 'D/E-F-G.pm' # Looks like you failed 12 tests of 13. t\App-PRT-Util-DestinationFile.t ..... ok 1 - use App::PRT::Util::DestinationFile; 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 1..13 Dubious, test returned 12 (wstat 3072, 0xc00) Failed 12/13 subtests Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. t\App-PRT.t .......................... ok 1 - use App::PRT; ok 2 - welcome 1..2 ok Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. 'git' is not recognized as an internal or external command, operable program or batch file. # Failed test 'collect died (directory C:\cpanfly-5.16\var\tmp\zPyS3pHq9B seems not a git repository at lib/App/PRT/Collector/GitDirectory.pm line 49.)' # at (eval 11) line 15. # (in t::App::Prt::Collector::GitDirectory->collect) Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. 'git' is not recognized as an internal or external command, operable program or batch file. # Failed test 'find from root directory' # at t\App-Prt-Collector-GitDirectory.t line 17. # (in t::App::Prt::Collector::GitDirectory->find_git_root_directory) # got: undef # expected: 'C:\cpanfly-5.16\var\tmp\rBgpjyntxy' # Failed test 'find from sub directory' # at t\App-Prt-Collector-GitDirectory.t line 19. # (in t::App::Prt::Collector::GitDirectory->find_git_root_directory) # got: undef # expected: 'C:\cpanfly-5.16\var\tmp\rBgpjyntxy' Subroutine Test::Builder::ok redefined at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 280. 'git' is not recognized as an internal or external command, operable program or batch file. # Child (can initialize with git repository) exited without calling finalize() # Failed test 'can initialize with git repository' # at C:\cpanfly-5.16\var\megalib/Test/Class.pm line 281. # (in t::App::Prt::Collector::GitDirectory->instantiate) # Failed test 'instantiate died (directory C:\cpanfly-5.16\var\tmp\AlgEE2LedU seems not a git repository at lib/App/PRT/Collector/GitDirectory.pm line 49.)' # at (eval 11) line 15. # (in t::App::Prt::Collector::GitDirectory->instantiate) # Looks like you failed 5 tests of 10. # Looks like your test exited with 256 just after 10. t\App-Prt-Collector-GitDirectory.t ... ok 1 - use App::PRT::Collector::GitDirectory; not ok 2 - collect died (directory C:\cpanfly-5.16\var\tmp\zPyS3pHq9B seems not a git repository at lib/App/PRT/Collector/GitDirectory.pm line 49.) ok 3 - not a git directory not ok 4 - find from root directory not ok 5 - find from sub directory ok 6 - dies when not existing directory ok 7 - directory required ok 8 - existing directory required # Subtest: can initialize with git repository ok 1 - An object of class 'App::PRT::Collector::GitDirectory' isa 'App::PRT::Collector::GitDirectory' ok 2 - collector has directory not ok 9 - can initialize with git repository not ok 10 - instantiate died (directory C:\cpanfly-5.16\var\tmp\AlgEE2LedU seems not a git repository at lib/App/PRT/Collector/GitDirectory.pm line 49.) 1..10 Failed 5/10 subtests t\data\contain_ignores\t\test.t ...... ok 1 - dummy 1..1 ok 'git' is not recognized as an internal or external command, operable program or batch file. # Failed test '.git directory exists' # at t\test.t line 26. # (in t::TestForTest->_prepare_as_git_repository) # Looks like you failed 1 test of 3. t\test.t ............................. not ok 1 - .git directory exists # Subtest: valid input ok 1 - prepare test code ok 2 - directory exists ok 3 - hello_world.pl exists 1..3 ok 2 - valid input # Subtest: valid input ok 1 - dies when specified code is not prepared 1..1 ok 3 - valid input 1..3 Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests Test Summary Report ------------------- t\App-PRT-CLI.t (Wstat: 0 Tests: 10 Failed: 3) Failed tests: 8-10 t\App-PRT-Command-RenameClass.t (Wstat: 512 Tests: 18 Failed: 2) Failed tests: 2, 8 Non-zero exit status: 2 t\App-PRT-Util-DestinationFile.t (Wstat: 3072 Tests: 13 Failed: 12) Failed tests: 2-13 Non-zero exit status: 12 t\App-Prt-Collector-GitDirectory.t (Wstat: 0 Tests: 10 Failed: 5) Failed tests: 2, 4-5, 9-10 t\test.t (Wstat: 256 Tests: 3 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=15, Tests=151, 22 wallclock secs ( 0.09 usr + 0.03 sys = 0.13 CPU) Result: FAIL Failed 5/15 test programs. 23/151 subtests failed. HITODE/App-PRT-0.19.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.19.tar.gz Finished 2014-09-02T03:22:53