Hello David,
> # got: 'couldn't connect to display ":0" at [. . . ]
This indicates that there is no X11 server available on :0. I see that
you have the Tk prerequisite installed, but that won't help if it
doesn't have an X server to connect to.
Is this something the test script needs to detect? Or should the test
environment include the X server? I see some references on the web
indicating that OSX (darwin?) needs to run something called X11.app
(see http://www.perlmonks.org/?node_id=586137 for example).
Thanks for doing this testing work - it's certainly a valuable service.
Regards,
reid
On Mon, 07 Jan 2008, [EMAIL PROTECTED] wrote:
> 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 [email protected] to keep other
> test volunteers informed and to prevent any duplicate effort.
>
> --
> Dear Reid Augustin,
>
> This is a computer-generated report for Games-Go-GoPair-1.001
> on perl-5.10.0, created automatically by CPAN-Reporter-1.0601
> 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 with your distribution. If these results are
> not what you expect or if you would like to learn how to avoid FAIL
> reports for missing dependencies, unsupported operating systems, etc.,
> please consult "Notes for CPAN Authors" on the CPAN Testers Wiki:
> http://cpantest.grango.org
>
> Sections of this report:
>
> * Tester comments
> * Program output
> * Prerequisites
> * Environment and other context
>
> ------------------------------
> TESTER COMMENTS
> ------------------------------
>
> Additional comments from tester:
>
> [none provided]
>
> ------------------------------
> PROGRAM OUTPUT
> ------------------------------
>
> Output from 'make test':
>
> PERL_DL_NONLAZY=1 /Users/david/cpantesting/perl-5.10.0/bin/perl
> "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
> t/*.t
> t/Games-Go-AGA-TDEntry.....
> # Failed test 'creating main window'
> # at t/Games-Go-AGA-TDEntry.t line 26.
> # got: 'couldn't connect to display ":0" at
> /Users/david/cpantesting/perl-5.10.0/lib/site_perl/5.10.0/darwin-thread-multi-2level/Tk/MainWindow.pm
> line 55.
> # MainWindow->new() at t/Games-Go-AGA-TDEntry.t line 25
> # '
> # expected: ''
>
> # Failed test 'created new Games::Go::TDEntry object'
> # at t/Games-Go-AGA-TDEntry.t line 30.
>
> # Failed test ' with no errors,'
> # at t/Games-Go-AGA-TDEntry.t line 31.
> # got: 'Can't call method "TDEntry" on an undefined value at
> t/Games-Go-AGA-TDEntry.t line 29.
> # '
> # expected: ''
> Can't call method "isa" on an undefined value at t/Games-Go-AGA-TDEntry.t
> line 32.
> # Looks like you planned 10 tests but only ran 5.
> # Looks like you failed 3 tests of 5 run.
> # Looks like your test died just after 5.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 3-10
> Failed 8/10 tests, 20.00% okay
> t/Games-Go-AGA-TDFinder....
> # Failed test 'creating main window'
> # at t/Games-Go-AGA-TDFinder.t line 26.
> # got: 'couldn't connect to display ":0" at
> /Users/david/cpantesting/perl-5.10.0/lib/site_perl/5.10.0/darwin-thread-multi-2level/Tk/MainWindow.pm
> line 55.
> # MainWindow->new() at t/Games-Go-AGA-TDFinder.t line 25
> # '
> # expected: ''
>
> # Failed test 'created new Games::Go::TDFinder object'
> # at t/Games-Go-AGA-TDFinder.t line 30.
>
> # Failed test ' with no errors,'
> # at t/Games-Go-AGA-TDFinder.t line 31.
> # got: 'Can't call method "TDFinder" on an undefined value at
> t/Games-Go-AGA-TDFinder.t line 29.
> # '
> # expected: ''
> Can't call method "isa" on an undefined value at t/Games-Go-AGA-TDFinder.t
> line 32.
> # Looks like you planned 18 tests but only ran 5.
> # Looks like you failed 3 tests of 5 run.
> # Looks like your test died just after 5.
> dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 3-18
> Failed 16/18 tests, 11.11% okay
> Failed Test Stat Wstat Total Fail List of Failed
> -------------------------------------------------------------------------------
> t/Games-Go-AGA-TDEntry.t 255 65280 10 13 3-10
> t/Games-Go-AGA-TDFinder.t 255 65280 18 29 3-18
> Failed 2/2 test scripts. 24/28 subtests failed.
> Files=2, Tests=28, 12 wallclock secs ( 0.30 cusr + 0.07 csys = 0.37 CPU)
> Failed 2/2 test programs. 24/28 subtests failed.
> make: *** [test_dynamic] Error 255
>
> ------------------------------
> PREREQUISITES
> ------------------------------
>
> Prerequisite modules loaded:
>
> requires:
>
> Module Need Have
> --------------------- ---- -------
> Algorithm::Pair::Best 1 1.010
> Digest::SHA1 0 2.11
> Games::Go::AGATourn 1 1.035
> Tk 804 804.028
>
> ------------------------------
> ENVIRONMENT AND OTHER CONTEXT
> ------------------------------
>
> Environment variables:
>
> PATH =
> /sw/bin:/sw/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
> PERL5LIB = /sw/lib/perl5:/sw/lib/perl5/darwin
> PERL5_CPANPLUS_IS_RUNNING = 7640
> PERL5_CPAN_IS_RUNNING = 7640
> SHELL = /bin/bash
> TERM = screen
>
> Perl special variables (and OS-specific diagnostics, for MSWin32):
>
> $^X = /Users/david/cpantesting/perl-5.10.0/bin/perl
> $UID/$EUID = 501 / 501
> $GID = 501 501 81 79 80
> $EGID = 501 501 81 79 80
>
> Perl module toolchain versions installed:
>
> Module Have
> ------------------- ---------
> CPAN 1.9205
> Cwd 3.2501
> ExtUtils::CBuilder 0.21
> ExtUtils::Command 1.13
> ExtUtils::Install 1.44
> ExtUtils::MakeMaker 6.42
> ExtUtils::Manifest 1.51_01
> ExtUtils::ParseXS 2.18_02
> File::Spec 3.2501
> Module::Build 0.2808_01
> Module::Signature 0.55
> Test::Harness 2.64
> Test::More 0.72
> YAML 0.66
> YAML::Syck n/a
> version 0.74
>
>
> --
>
> Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
> Platform:
> osname=darwin, osvers=8.10.1, archname=darwin-thread-multi-2level
> uname='darwin cowshed-door.barnyard.co.uk 8.10.1 darwin kernel version
> 8.10.1: wed may 23 16:33:00 pdt 2007; root:xnu-792.22.5~1release_i386 i386
> i386 '
> config_args='-de -Dprefix=/Users/david/cpantesting/perl-5.10.0
> -Dusethreads'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=define, usemultiplicity=define
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=undef, use64bitall=undef, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
> -fno-strict-aliasing -pipe',
> optimize='-O3',
> cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
> -fno-strict-aliasing -pipe'
> ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5367)',
> gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=8, prototype=define
> Linker and Libraries:
> ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =''
> libpth=/usr/lib
> libs=-ldbm -ldl -lm -lc
> perllibs=-ldl -lm -lc
> libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
> cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup'