This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/
Please cc any replies to cpan-testers@perl.org to keep other test volunteers informed and to prevent any duplicate effort. -- Dear Kent Cowgill, This is a computer-generated test report for Test-StubGenerator-0.9.0, created automatically by CPAN::Reporter, version 0.46, and sent to the CPAN Testers mailing list. If you have received this email directly, it is because the person testing your distribution chose to send a copy to your CPAN email address; there may be a delay before the official report is received and processed by CPAN Testers. Thank you for uploading your work to CPAN. However, it appears that there were some problems testing your distribution. Sections of this report: * Tester comments * Prerequisites * Environment and other context * Test output ------------------------------ TESTER COMMENTS ------------------------------ Additional comments from tester: [none provided] ------------------------------ PREREQUISITES ------------------------------ Prerequisite modules loaded: requires: Module Need Have ---------- ----- -------- Perl::Tidy 0 20070801 PPI 1.118 1.118 Test::More 0 0.70 ------------------------------ ENVIRONMENT AND OTHER CONTEXT ------------------------------ Environment variables: LANG = C PATH = /usr/lib/ccache:/home/sand/bin:/usr/local/bin:/usr/local/perl/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/X11/bin:/sbin:/usr/sbin PERL5LIB = /home/sand/.cpan/build/Perl-Tidy-20070801-maEnJ9/blib/arch:/home/sand/.cpan/build/Perl-Tidy-20070801-maEnJ9/blib/lib:/home/sand/.cpan/build/Tie-Scalar-Random-0.01-Z3gXHz/blib/arch:/home/sand/.cpan/build/Tie-Scalar-Random-0.01-Z3gXHz/blib/lib:/home/sand/.cpan/build/Path-Abstract-0.071-yvNWHM/blib/arch:/home/sand/.cpan/build/Path-Abstract-0.071-yvNWHM/blib/lib:/home/sand/.cpan/build/Test-Lazy-0.01-uR9MVO/blib/arch:/home/sand/.cpan/build/Test-Lazy-0.01-uR9MVO/blib/lib:/home/sand/.cpan/build/HTML-TreeBuilder-Select-0.111-NKNLvM/blib/arch:/home/sand/.cpan/build/HTML-TreeBuilder-Select-0.111-NKNLvM/blib/lib:/home/sand/.cpan/build/Acme-Aspartame-0.01-zFvQtC/blib/arch:/home/sand/.cpan/build/Acme-Aspartame-0.01-zFvQtC/blib/lib:/home/sand/.cpan/build/Bloom-Filter-1.0-3cTTj1/blib/arch:/home/sand/.cpan/build/Bloom-Filter-1.0-3cTTj1/blib/lib:/home/sand/.cpan/build/CPAN-Reporter-0.47_01-5IJTHn/blib/arch:/home/sand/.cpan/build/CPAN-Reporter-0.47_01-5IJTHn/blib/lib:/home/sand! /.cpan/build/Text-XLogfile-0.02-FUjtNO/blib/arch:/home/sand/.cpan/build/Text-XLogfile-0.02-FUjtNO/blib/lib:/home/sand/.cpan/build/Test-Without-Module-0.1-M9cHIu/blib/arch:/home/sand/.cpan/build/Test-Without-Module-0.1-M9cHIu/blib/lib:/home/sand/.cpan/build/List-Member-0.042-zKY156/blib/arch:/home/sand/.cpan/build/List-Member-0.042-zKY156/blib/lib:/home/sand/.cpan/build/Lingua-Alphabet-Phonetic-NetHack-1.02-cTQ3qp/blib/arch:/home/sand/.cpan/build/Lingua-Alphabet-Phonetic-NetHack-1.02-cTQ3qp/blib/lib:/home/sand/.cpan/build/Lingua-Alphabet-Phonetic-0.054-9yBmxq/blib/arch:/home/sand/.cpan/build/Lingua-Alphabet-Phonetic-0.054-9yBmxq/blib/lib:/home/sand/.cpan/build/WebService-StreetMapLink-0.2-V1gPPs/blib/arch:/home/sand/.cpan/build/WebService-StreetMapLink-0.2-V1gPPs/blib/lib:/home/sand/.cpan/build/WebService-StreetMapLink-0.21-hhrwBj/blib/arch:/home/sand/.cpan/build/WebService-StreetMapLink-0.21-hhrwBj/blib/lib:/home/sand/.cpan/build/Geography-States-2.1-BNmJ1t/blib/arch:/home/! sand/.cpan/build/Geography-States-2.1-BNmJ1t/blib/lib:/home/sand/.cpan /build/Bundle-SafeBrowsing-1.00-CHKNHA/blib/arch:/home/sand/.cpan/build/Bundle-SafeBrowsing-1.00-CHKNHA/blib/lib:/home/sand/.cpan/build/HTML-Tested-0.26-Cbk741/blib/arch:/home/sand/.cpan/build/HTML-Tested-0.26-Cbk741/blib/lib:/home/sand/.cpan/build/Digest-CRC-0.10-tYqgHW/blib/arch:/home/sand/.cpan/build/Digest-CRC-0.10-tYqgHW/blib/lib:/home/sand/.cpan/build/Math-Combinatorics-0.09-SCgfLS/blib/arch:/home/sand/.cpan/build/Math-Combinatorics-0.09-SCgfLS/blib/lib:/home/sand/.cpan/build/NetHack-Logfile-0.01-eOU1xf/blib/arch:/home/sand/.cpan/build/NetHack-Logfile-0.01-eOU1xf/blib/lib:/home/sand/.cpan/build/Text-XLogfile-0.03-PTWy0L/blib/arch:/home/sand/.cpan/build/Text-XLogfile-0.03-PTWy0L/blib/lib:/home/sand/.cpan/build/Test-WWW-Mechanize-Catalyst-0.39-2Lkawf/blib/arch:/home/sand/.cpan/build/Test-WWW-Mechanize-Catalyst-0.39-2Lkawf/blib/lib:/home/sand/.cpan/build/XML-Generator-PerlData-0.91-CMA6bh/blib/arch:/home/sand/.cpan/build/XML-Generator-PerlData-0.91-CMA6bh/blib/lib:/home/s! and/.cpan/build/Sys-Statistics-Linux-0.15-Pmgrq5/blib/arch:/home/sand/.cpan/build/Sys-Statistics-Linux-0.15-Pmgrq5/blib/lib:/home/sand/.cpan/build/Math-Currency-0.45-4aN2hT/blib/arch:/home/sand/.cpan/build/Math-Currency-0.45-4aN2hT/blib/lib:/home/sand/.cpan/build/Test-Without-Module-0.1-H3GKrd/blib/arch:/home/sand/.cpan/build/Test-Without-Module-0.1-H3GKrd/blib/lib:/home/sand/.cpan/build/File-DirSync-1.16-4wxNpF/blib/arch:/home/sand/.cpan/build/File-DirSync-1.16-4wxNpF/blib/lib PERL5_CPANPLUS_IS_RUNNING = 1 PERL5_CPAN_IS_RUNNING = 1 SHELL = /bin/bash TERM = screen Perl special variables (and OS-specific diagnostics, for MSWin32): Perl: $^X = /home/src/perl/repoperls/installed-perls/perl/pqen8aq/[EMAIL PROTECTED]/bin/perl UID: $< = 1005 EUID: $> = 1005 GID: $( = 1005 1005 EGID: $) = 1005 1005 Perl module toolchain versions installed: Module Have ------------------- ------- CPAN 1.9102 Cwd 3.25 ExtUtils::CBuilder 0.19 ExtUtils::Command 1.13 ExtUtils::Install 1.41_04 ExtUtils::MakeMaker 6.36 ExtUtils::Manifest 1.51_01 ExtUtils::ParseXS 2.18 File::Spec 3.25 Module::Build 0.2808 Module::Signature 0.55 Test::Harness 2.64 Test::More 0.70 version 0.7203 ------------------------------ TEST OUTPUT ------------------------------ Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/pqen8aq/[EMAIL PROTECTED]/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load................# Testing Test::StubGenerator 0.9.0, Perl 5.009005, /home/src/perl/repoperls/installed-perls/perl/pqen8aq/[EMAIL PROTECTED]/bin/perl ok t/autogen................ # Failed test 'can eat own dogfood 2' # at t/autogen.t line 29. # got: '#!/usr/bin/perl # # use strict; # use warnings; # # use Test::More qw/no_plan/; # # use lib '..'; # # BEGIN { use_ok('Test::StubGenerator'); } # # ok( # my $obj = Test::StubGenerator->new(), # 'can create object Test::StubGenerator' # ); # isa_ok( $obj, 'Test::StubGenerator', 'object $obj' ); # can_ok( # $obj, '_assemble_tests', # '_find', '_find_package', # '_find_subs', '_generate_preamble', # '_get_variables', '_handle_output', # '_process_sub', '_test_file_header', # '_write_file', 'gen_testfile' # ); # # # Create some variables with which to test the Test::StubGenerator objects' methods # # Note: give these some reasonable values. Then try unreasonable values :) # my $test_file = ''; # my $package = ''; # my $sub = ''; # my $sub_ref = ''; # my $item_type = ''; # my $declarations = ''; # my $tests = ''; # my $statement = ''; # my $vars_ref = ''; # # # And now to test the methods/subroutines. # ok( $obj->_handle_output($test_file), 'can call $obj->_handle_output()' ); # ok( $obj->_handle_output(), 'can call $obj->_handle_output() without params' ); # # ok( $obj->_generate_preamble($package), 'can call $obj->_generate_preamble()' ); # ok( $obj->_generate_preamble(), # 'can call $obj->_generate_preamble() without params' ); # # ok( $obj->_find_package(), 'can call $obj->_find_package() without params' ); # # ok( $obj->_process_sub($sub), 'can call $obj->_process_sub()' ); # ok( $obj->_process_sub(), 'can call $obj->_process_sub() without params' ); # # ok( $obj->_find( $sub_ref, $item_type ), 'can call $obj->_find()' ); # ok( $obj->_find(), 'can call $obj->_find() without params' ); # # ok( $obj->_assemble_tests( $package, $declarations, $tests ), # 'can call $obj->_assemble_tests()' ); # ok( $obj->_assemble_tests(), # 'can call $obj->_assemble_tests() without params' ); # # ok( $obj->_get_variables( $statement, $vars_ref ), # 'can call $obj->_get_variables()' ); # ok( $obj->_get_variables(), 'can call $obj->_get_variables() without params' ); # # ok( $obj->_find_subs(), 'can call $obj->_find_subs() without params' ); # # ok( $obj->gen_testfile(), 'can call $obj->gen_testfile() without params' ); # # ok( $obj->_test_file_header(), # 'can call $obj->_test_file_header() without params' ); # # ok( $obj->_write_file($test_file), 'can call $obj->_write_file()' ); # ok( $obj->_write_file(), 'can call $obj->_write_file() without params' ); # ' # expected: '#!/usr/bin/perl # # use strict; # use warnings; # # use Test::More qw/no_plan/; # # use lib '..'; # # BEGIN { use_ok('Test::StubGenerator'); } # # ok( my $obj = Test::StubGenerator->new(), # 'can create object Test::StubGenerator' ); # isa_ok( $obj, 'Test::StubGenerator', 'object $obj' ); # can_ok( $obj, '_assemble_tests', # '_find', '_find_package', # '_find_subs', '_generate_preamble', # '_get_variables', '_handle_output', # '_process_sub', '_test_file_header', # '_write_file', 'gen_testfile' ); # # # Create some variables with which to test the Test::StubGenerator objects' methods # # Note: give these some reasonable values. Then try unreasonable values :) # my $test_file = ''; # my $package = ''; # my $sub = ''; # my $sub_ref = ''; # my $item_type = ''; # my $declarations = ''; # my $tests = ''; # my $statement = ''; # my $vars_ref = ''; # # # And now to test the methods/subroutines. # ok( $obj->_handle_output($test_file), 'can call $obj->_handle_output()' ); # ok( $obj->_handle_output(), # 'can call $obj->_handle_output() without params' ); # # ok( $obj->_generate_preamble($package), # 'can call $obj->_generate_preamble()' ); # ok( $obj->_generate_preamble(), # 'can call $obj->_generate_preamble() without params' ); # # ok( $obj->_find_package(), 'can call $obj->_find_package() without params' ); # # ok( $obj->_process_sub($sub), 'can call $obj->_process_sub()' ); # ok( $obj->_process_sub(), 'can call $obj->_process_sub() without params' ); # # ok( $obj->_find( $sub_ref, $item_type ), 'can call $obj->_find()' ); # ok( $obj->_find(), 'can call $obj->_find() without params' ); # # ok( $obj->_assemble_tests( $package, $declarations, $tests ), # 'can call $obj->_assemble_tests()' ); # ok( $obj->_assemble_tests(), # 'can call $obj->_assemble_tests() without params' ); # # ok( $obj->_get_variables( $statement, $vars_ref ), # 'can call $obj->_get_variables()' ); # ok( $obj->_get_variables(), # 'can call $obj->_get_variables() without params' ); # # ok( $obj->_find_subs(), 'can call $obj->_find_subs() without params' ); # # ok( $obj->gen_testfile(), 'can call $obj->gen_testfile() without params' ); # # ok( $obj->_test_file_header(), # 'can call $obj->_test_file_header() without params' ); # # ok( $obj->_write_file($test_file), 'can call $obj->_write_file()' ); # ok( $obj->_write_file(), 'can call $obj->_write_file() without params' ); # ' # Looks like you failed 1 test of 10. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 6 Failed 1/10 tests, 90.00% okay t/boilerplate............skipped all skipped: Author test. Set $ENV{ TEST_AUTHOR } to enable this test. t/manifest...............skipped all skipped: Author test. Set $ENV{ TEST_AUTHOR } to enable this test. t/perl-critic............skipped all skipped: Author test. Set $ENV{ TEST_AUTHOR } to enable this test. t/pod-coverage...........ok t/pod....................skipped all skipped: Author test. Set $ENV{ TEST_AUTHOR } to enable this test. t/stub_instance..........ok t/stub_invalidvar........ok t/stub_modoutdir.........ok t/stub_modoutfile........ok t/stub_module............ok t/stub_nopermissions.....ok t/stub_nosub.............ok t/stub_notadirectory.....ok t/stub_notidymod.........ok t/stub_script............No packages found at t/stub_script.t line 16 ok t/stub_submodule.........ok t/stub_unwritablefile....ok t/stub_var...............No packages found at t/stub_var.t line 19 ok t/todo...................skipped all skipped: Author test. Set $ENV{ TEST_AUTHOR } to enable this test. t/unix-text..............skipped all skipped: Author test. Set $ENV{ TEST_AUTHOR } to enable this test. Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/autogen.t 1 256 10 1 6 6 tests skipped. Failed 1/22 test scripts. 1/71 subtests failed. Files=22, Tests=71, 29 wallclock secs (23.50 cusr + 2.87 csys = 26.37 CPU) Failed 1/22 test programs. 1/71 subtests failed. make: *** [test_dynamic] Error 255 -- Summary of my perl5 (revision 5 version 9 subversion 5) configuration: Platform: osname=linux, osvers=2.6.22-1-k7, archname=i686-linux-64int uname='linux k75 2.6.22-1-k7 #1 smp mon jul 23 14:02:09 utc 2007 i686 gnulinux ' config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/pqen8aq/[EMAIL PROTECTED] -Dinstallusrbinperl=n -Uversiononly -Doptimize=-g -des -Duse64bitint -Dusedevel' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-g', cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian 4.1.1-21)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.6.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.6' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -g -L/usr/local/lib'