fails tests on OS X snow leopard #98

Closed
kthakore opened this Issue Jul 26, 2011 · 7 comments

Comments

Projects
None yet
1 participant
Owner

kthakore commented Jul 26, 2011

pan[5]> test Alien::SDL
Running test for module 'Alien::SDL'
Running Build for K/KT/KTHAKORE/Alien-SDL-v0.8.2.tar.gz
Has already been unwrapped into directory /Users/tony/.cpan/build/Alien-SDL-v0.8.2-Uln60u
Has already been made
Running Build test
t/001_load.t ................ 1/1 # Testing Alien::SDL 0.8.2, Perl 5.010001, /Users/tony/perl/5.10.1/bin/perl
t/001_load.t ................ ok
t/002_config.t .............. Failed to find share dir for dist 'Alien-SDL' at /Users/tony/.cpan/build/Alien-SDL-v0.8.2-Uln60u/blib/lib/Alien/SDL.pm line 261

Looks like your test exited with 2 before it could output anything.

t/002_config.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/003_check_header.t ........ # Testing basic headers SDL.h + SDL_version.h + SDL_net.h
[Alien::SDL] Testing header(s): SDL.h

TEST FAILED### for: SDL.h

t/003_check_header.t ........ 1/2

Failed test 'Testing availability of 'SDL.h''

at t/003_check_header.t line 7.

got: '0'

expected: '1'

[Alien::SDL] Testing header(s): SDL.h, SDL_version.h

TEST FAILED### for: SDL.h, SDL_version.h

Failed test 'Testing availability of 'SDL.h, SDL_version.h''

at t/003_check_header.t line 8.

got: '0'

expected: '1'

Looks like you failed 2 tests of 2.

t/003_check_header.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/004_get_header_version.t .. Failed to find share dir for dist 'Alien-SDL' at /Users/tony/.cpan/build/Alien-SDL-v0.8.2-Uln60u/blib/lib/Alien/SDL.pm line 261

Looks like your test exited with 2 before it could output anything.

t/004_get_header_version.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests

Test Summary Report

t/002_config.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 0.
t/003_check_header.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
t/004_get_header_version.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=4, Tests=3, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.31 cusr 0.05 csys = 0.41 CPU)
Result: FAIL
Failed 3/4 test programs. 2/3 subtests failed.
KTHAKORE/Alien-SDL-v0.8.2.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports KTHAKORE/Alien-SDL-v0.8.2.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Failed during this command:
KTHAKORE/Alien-SDL-v0.8.2.tar.gz : make_test NO

Owner

kthakore commented Jul 26, 2011

Author: kthakore
Time: 1268749382
Field: status
Value: assigned

@ghost ghost assigned kthakore Jul 26, 2011

Owner

kthakore commented Jul 26, 2011

Author: kthakore
Time: 1268749382
Field: owner
Value: tonyc

Owner

kthakore commented Jul 26, 2011

Author: kthakore
Time: 1268749382
Field: comment
Value: please try Alien_SDL 1.0 from cpan

Owner

kthakore commented Jul 26, 2011

Author: kmx
Time: 1270792557
Field: comment
Value: it seems that you are missing File::ShareDir module

do: ./Build installdeps before building&testing Alien::SDL

kmx

Owner

kthakore commented Jul 26, 2011

Author: kthakore
Time: 1277646768
Field: status
Value: closed

Owner

kthakore commented Jul 26, 2011

Author: kthakore
Time: 1277646768
Field: resolution
Value: fixed

Owner

kthakore commented Jul 26, 2011

Author: kthakore
Time: 1277646768
Field: comment
Value: Fixed with http://sdlperl.ath.cx/projects/SDLPerl/changeset/60123ca2fbf2a3614f929fc1dc489b853195af76

@kthakore kthakore closed this Jul 26, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment