PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2014-08-31T14:52:17 ActivePerl-1200 CPAN-2.00 Reading '/export/home/fly1264/var/cpan/Metadata' Database was generated on Sun, 31 Aug 2014 19:53:25 GMT Running make for H/HI/HITODE/App-PRT-0.16.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/App-PRT-0.16.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/H/HI/HITODE/CHECKSUMS Checksum for /export/home/fly1264/var/cpan/sources/authors/id/H/HI/HITODE/App-PRT-0.16.tar.gz ok App-PRT-0.16/Build.PL App-PRT-0.16/Changes App-PRT-0.16/LICENSE App-PRT-0.16/META.json App-PRT-0.16/README.md App-PRT-0.16/bin/prt App-PRT-0.16/cpanfile App-PRT-0.16/lib/App/PRT.pm App-PRT-0.16/lib/App/PRT/CLI.pm App-PRT-0.16/lib/App/PRT/Collector/AllFiles.pm App-PRT-0.16/lib/App/PRT/Collector/Files.pm App-PRT-0.16/lib/App/PRT/Collector/GitDirectory.pm App-PRT-0.16/lib/App/PRT/Command/AddMethod.pm App-PRT-0.16/lib/App/PRT/Command/AddUse.pm App-PRT-0.16/lib/App/PRT/Command/DeleteMethod.pm App-PRT-0.16/lib/App/PRT/Command/Help.pm App-PRT-0.16/lib/App/PRT/Command/MoveClassMethod.pm App-PRT-0.16/lib/App/PRT/Command/RenameClass.pm App-PRT-0.16/lib/App/PRT/Command/RenameNameSpace.pm App-PRT-0.16/lib/App/PRT/Command/ReplaceToken.pm App-PRT-0.16/lib/App/PRT/Util/DestinationFile.pm App-PRT-0.16/minil.toml App-PRT-0.16/t/App-PRT-CLI.t App-PRT-0.16/t/App-PRT-Collector-AllFiles.t App-PRT-0.16/t/App-PRT-Collector-Files.t App-PRT-0.16/t/App-PRT-Command-AddMethod.t App-PRT-0.16/t/App-PRT-Command-AddUse.t App-PRT-0.16/t/App-PRT-Command-DeleteMethod.t App-PRT-0.16/t/App-PRT-Command-Help.t App-PRT-0.16/t/App-PRT-Command-MoveClassMethod.t App-PRT-0.16/t/App-PRT-Command-RenameClass.t App-PRT-0.16/t/App-PRT-Command-RenameNameSpace.t App-PRT-0.16/t/App-PRT-Command-ReplaceToken.t App-PRT-0.16/t/App-PRT-Util-DestinationFile.t App-PRT-0.16/t/App-PRT.t App-PRT-0.16/t/App-Prt-Collector-GitDirectory.t App-PRT-0.16/t/data/contain_ignores/_build/Build.pm App-PRT-0.16/t/data/contain_ignores/app.psgi App-PRT-0.16/t/data/contain_ignores/blib/Blib.pm App-PRT-0.16/t/data/contain_ignores/cpanfile App-PRT-0.16/t/data/contain_ignores/eg/eg.pl App-PRT-0.16/t/data/contain_ignores/fatlib/Fatlib.pm App-PRT-0.16/t/data/contain_ignores/lib/Foo.pm App-PRT-0.16/t/data/contain_ignores/lib/Foo/Bar.pm App-PRT-0.16/t/data/contain_ignores/local/Local.pm App-PRT-0.16/t/data/contain_ignores/share/share.pl App-PRT-0.16/t/data/contain_ignores/t/test.t App-PRT-0.16/t/data/dinner/dinner.pl App-PRT-0.16/t/data/dinner/lib/My/Food.pm App-PRT-0.16/t/data/dinner/lib/My/Human.pm App-PRT-0.16/t/data/dinner/lib/Your/Food.pm App-PRT-0.16/t/data/dinner/t/001-my-food._t App-PRT-0.16/t/data/dinner/t/My-Food._t App-PRT-0.16/t/data/greeting/lib/Bye.pm App-PRT-0.16/t/data/greeting/lib/Greeting.pm App-PRT-0.16/t/data/greeting/lib/Hi.pm App-PRT-0.16/t/data/greeting/no_use.pl App-PRT-0.16/t/data/greeting/no_use_but_package.pl App-PRT-0.16/t/data/greeting/use_greeting.pl App-PRT-0.16/t/data/greeting/use_greeting_and_hi.pl App-PRT-0.16/t/data/hello_world/hello_world.pl App-PRT-0.16/t/data/inherit/inherit.pl App-PRT-0.16/t/data/method_call_with_whitespace/hello.pl App-PRT-0.16/t/data/method_with_comment/FoodWithComment.pm App-PRT-0.16/t/data/package_in_block/multi_packages.pl App-PRT-0.16/t/data/package_in_block/package_block_statement.pl App-PRT-0.16/t/data/package_in_block/package_in_block.pl App-PRT-0.16/t/data/readme/README.md App-PRT-0.16/t/test.pm App-PRT-0.16/t/test.t App-PRT-0.16/xt/perlcritic.t App-PRT-0.16/xt/perlcriticrc App-PRT-0.16/META.yml App-PRT-0.16/MANIFEST CPAN.pm: Building H/HI/HITODE/App-PRT-0.16.tar.gz >>> /export/home/fly1264/bin/perl Build.PL Use of uninitialized value $bit in vec at /export/home/fly1264/ap1200/lib/warnings/register.pm line 31. Use of uninitialized value $warnings::LAST_BIT in vec at /export/home/fly1264/ap1200/lib/warnings/register.pm line 41. Use of uninitialized value $warnings::Bits{"all"} in vec at /export/home/fly1264/ap1200/lib/warnings/register.pm line 41. Use of uninitialized value $warnings::Bits{"all"} in scalar assignment at /export/home/fly1264/ap1200/lib/warnings/register.pm line 41. Use of uninitialized value $warnings::DeadBits{"all"} in vec at /export/home/fly1264/ap1200/lib/warnings/register.pm line 47. Use of uninitialized value $warnings::DeadBits{"all"} in scalar assignment at /export/home/fly1264/ap1200/lib/warnings/register.pm line 47. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'App-PRT' version '0.16' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json >>> ./Build Building App-PRT HITODE/App-PRT-0.16.tar.gz ./Build -- OK Running Build test >>> ./Build test verbose=1 Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::CLI->_command_name_to_command_class Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::CLI->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::CLI->parse Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. Subroutine Cwd::getcwd redefined at /export/home/fly1264/var/megalib/Test/Mock/Guard.pm line 60. Subroutine Cwd::getcwd redefined at /export/home/fly1264/var/megalib/Test/Mock/Guard.pm line 141. sh: git: not found Subroutine Cwd::getcwd redefined at /export/home/fly1264/var/megalib/Test/Mock/Guard.pm line 60. Subroutine Cwd::getcwd redefined at /export/home/fly1264/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 /export/home/fly1264/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 40.)' # at (eval 15) line 15. # (in t::App::PRT::CLI->parse) # # t::App::PRT::CLI->run Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # Failed test 'run died (You already have a child named (when command specified, git directory) running at /export/home/fly1264/var/megalib/Test/More.pm line 770.)' # at (eval 15) line 15. # (in t::App::PRT::CLI->run) # Looks like you failed 3 tests of 9. # Looks like your test exited with 256 just after 9. 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, not a git directory ok 1 - ReplaceToken command loaded ok 2 - parse 1..2 ok 6 - when command specified, not a git directory # Subtest: when command specified, git directory not ok 7 - when command specified, git directory not ok 8 - parse died (Cannot decide target files at lib/App/PRT/CLI.pm line 40.) not ok 9 - run died (You already have a child named (when command specified, git directory) running at /export/home/fly1264/var/megalib/Test/More.pm line 770.) 1..9 Failed 3/9 subtests Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Collector::AllFiles->collect Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Collector::AllFiles->find_project_root_directory Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Collector::AllFiles->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Collector::Files->collect Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Collector::Files->collect_multi_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Collector::Files->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::AddMethod->execute Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::AddMethod->execute_with_comment Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::AddMethod->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::AddMethod->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::AddMethod->register Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 - AddMethod handles files ok 5 - An object of class 'App::PRT::Command::AddMethod' isa 'App::PRT::Command::AddMethod' ok 6 - register 1..6 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::AddUse->execute Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::AddUse->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::AddUse->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::AddUse->register Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 - AddUse handles files ok 6 - An object of class 'App::PRT::Command::AddUse' isa 'App::PRT::Command::AddUse' # Subtest: package ok 1 - register 1..1 ok 7 - package # Subtest: package and arguments ok 1 - register 1..1 ok 8 - package and arguments 1..8 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::DeleteMethod->execute Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::DeleteMethod->execute_delete_method_and_comment Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::DeleteMethod->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::DeleteMethod->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::DeleteMethod->parse_arguments Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::DeleteMethod->register Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 - DeleteMethod handles files ok 7 - 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 8 - when class and method specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 9 - when arguments are not enough ok 10 - register ok 11 - register 1..11 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::Help->execute Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::Help->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::Help->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::Help->parse_arguments Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. 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. prt rename_name_space Foo Bar Rename Foo and Foo::* classes to Bar and Bar::* classes. prt delete_method Food eat Delete eat method from Food class prt move_class_method 'Class#method' 'AnotherClass#another_method' Move Class#method to AnotherClass#another_method 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 Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::MoveClassMethod->execute_call_as_class_method Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->execute_client_script Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->execute_for_not_perl_file Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->execute_method_body_when_destination_file_exists Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->execute_method_body_when_destination_file_not_exists Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->execute_method_move_comment_too Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->parse_arguments Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::MoveClassMethod->register_rule Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 - MoveClassMethod handles files ok 21 - 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 22 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 23 - 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 24 - 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 25 - when destination method name is same # Subtest: invalid syntax ok 1 - (?-xism:invalid format) ok 2 - (?-xism:invalid format) 1..2 ok 26 - invalid syntax 1..26 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::RenameClass->execute Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->execute_for_not_perl_file Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->execute_rename_package_in_block_statement Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->execute_rename_to_deeper_directory Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->execute_test_class_style_test_file Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->execute_test_more_style_test_file Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->execute_with_inherit Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->parse_arguments Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameClass->register_rule Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. t/App-PRT-Command-RenameClass.t ...... ok 1 - use App::PRT::Command::RenameClass; # Subtest: target class 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 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 ok 1 - success ok 2 - Food.pm doesn't exists ok 3 - Special::Great::Food.pm exists 1..3 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 - RenameClass handles files ok 15 - 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 16 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 17 - when arguments are not enough ok 18 - register rule ok 19 - register rule 1..19 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::RenameNameSpace->_collect_target_classes Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameNameSpace->_destination_class_name Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameNameSpace->execute Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameNameSpace->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameNameSpace->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameNameSpace->parse_arguments Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::RenameNameSpace->register_rule Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 - RenameNameSpace handles files ok 15 - 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 16 - when source and destination specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 17 - when arguments are not enough ok 18 - register rule ok 19 - register rule 1..19 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Command::ReplaceToken->execute Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->execute_for_not_perl_file Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->execute_replace_token_sequences Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->execute_replace_token_sequences_in_statement Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->execute_with_replace_only_statement_which_has_token Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->execute_with_whitespace Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->handle_files Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->parse_arguments Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. # # t::App::PRT::Command::ReplaceToken->register_rules Subroutine Test::Builder::ok redefined at /export/home/fly1264/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 - ReplaceToken handles files ok 11 - 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 12 - 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 13 - when source, destination, and --in-statement specified # Subtest: when arguments are not enough ok 1 - died 1..1 ok 14 - 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 15 - single token # Subtest: multi tokens ok 1 - register rules ok 2 - register rules ok 3 - register rules ok 4 - register rules 1..4 ok 16 - multi tokens # Subtest: replace_only_statement_which_has_token ok 1 - register rules ok 2 - register rules 1..2 ok 17 - replace_only_statement_which_has_token 1..17 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT::Util::DestinationFile->destination_file Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. t/App-PRT-Util-DestinationFile.t ..... ok 1 - use App::PRT::Util::DestinationFile; ok 2 - without directory ok 3 - with directory ok 4 - with extname ok 5 - move deeper ok 6 - move lighter ok 7 - absolute path ok 8 - t/lib ok 9 - test file ok 10 - separated with -, _ ok 11 - separated with -, _, move deeper ok 12 - separated with -, _, move lighter ok 13 - separated with -, _, mixed with directory 1..13 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::PRT->welcome Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. t/App-PRT.t .......................... ok 1 - use App::PRT; ok 2 - welcome 1..2 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::App::Prt::Collector::GitDirectory->collect Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. sh: git: not found sh: git: not found # Failed test 'collect died (directory /tmp/xGo9Cmb56F seems not a git repository at lib/App/PRT/Collector/GitDirectory.pm line 49.)' # at (eval 15) line 15. # (in t::App::Prt::Collector::GitDirectory->collect) # # t::App::Prt::Collector::GitDirectory->find_git_root_directory Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. sh: git: not found # 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: '/tmp/Rfb4ahOV0D' # 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: '/tmp/Rfb4ahOV0D' # # t::App::Prt::Collector::GitDirectory->instantiate Subroutine Test::Builder::ok redefined at /export/home/fly1264/var/megalib/Test/Class.pm line 280. sh: git: not found sh: git: not found # Child (can initialize with git repository) exited without calling finalize() # Failed test 'can initialize with git repository' # at /export/home/fly1264/var/megalib/Test/Class.pm line 281. # (in t::App::Prt::Collector::GitDirectory->instantiate) # Failed test 'instantiate died (directory /tmp/Krbd5Gd7g8 seems not a git repository at lib/App/PRT/Collector/GitDirectory.pm line 49.)' # at (eval 15) 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 /tmp/xGo9Cmb56F 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 /tmp/Krbd5Gd7g8 seems not a git repository at lib/App/PRT/Collector/GitDirectory.pm line 49.) 1..10 Failed 5/10 subtests Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. t/data/contain_ignores/t/test.t ...... ok 1 - dummy 1..1 ok Subroutine IPC::Open3::xclose redefined at /export/home/fly1264/var/megalib/TAP/Parser/Iterator/Process.pm line 146. # # t::TestForTest->_prepare_as_git_repository sh: git: not found # Failed test '.git directory exists' # at t/test.t line 26. # (in t::TestForTest->_prepare_as_git_repository) # # t::TestForTest->_prepare_test_code # 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: 9 Failed: 3) Failed tests: 7-9 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=16, Tests=162, 18 wallclock secs ( 0.46 usr 0.16 sys + 14.76 cusr 1.64 csys = 17.02 CPU) Result: FAIL Failed 3/16 test programs. 9/162 subtests failed. HITODE/App-PRT-0.16.tar.gz ./Build test verbose=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports HITODE/App-PRT-0.16.tar.gz Finished 2014-08-31T14:52:52