Skip to content

Loading…

gfx doesn't properly detect missing functions for test #88

Closed
kthakore opened this Issue · 7 comments

1 participant

@kthakore
PerlGameDev member

kthakore asked me to create this.

Some tests of the redesign branch fail on Debian stable, with the Debian packaged libsdl:

Script started on Mon 04 Jan 2010 23:06:18 EST
tony@mars:.../git/SDL_perl$ perl -Mblib t/gfx_primitives.t
1..56
ok 1 - pixel_color
ok 2 - pixel_RGBA
ok 3 - hline_color
ok 4 - hline_RGBA
ok 5 - vline_color
ok 6 - vline_RGBA
ok 7 - line_color
ok 8 - line_RGBA
ok 9 - aaline_color
ok 10 - aaline_RGBA
ok 11 - rectangle_color
ok 12 - rectangle_RGBA
ok 13 - rectangle_color
ok 14 - rectangle_RGBA
ok 15 - circle_color
ok 16 - circle_RGBA
ok 17 - aacircle_color
ok 18 - aacircle_RGBA
ok 19 - filled_circle_color
ok 20 - filled_circle_RGBA
Use of inherited AUTOLOAD for non-method SDL::GFX::Primitives::arc_color() is deprecated at t/gfx_primitives.t line 270.
Can't locate auto/SDL/GFX/Primitives/arc_color.al in @INC (@INC contains: t/lib /home/tony/dev/sdl-perl/git/SDL_perl/blib/arch /home/tony/dev/sdl-perl/git/SDL_perl/blib/lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at t/gfx_primitives.t line 270

Looks like you planned 56 tests but ran 20.

Looks like your test exited with 2 just after 20.

tony@mars:.../git/SDL_perl$ perl -Mblib t/gfx_rotozoom.t
1..19
ok 1 - surface isa SDL::Surface
ok 2 - surface_size, resulting width raises at angle is 45
ok 3 - surface_size, resulting height raises at angle is 45
ok 4 - surface_size, resulting width decreases at zoom 0.3
ok 5 - surface_size, resulting height decreases at zoom 0.3
ok 6 - surface_xy isa SDL::Surface
ok 7 - surface_size_xy, resulting width raises at zoom 1.3 and angle 45
ok 8 - surface_size_xy, resulting height raises at zoom 1.7 ans angle 45
ok 9 - surface_size_xy, resulting width decreases at zoom 0.3 and angle 45
ok 10 - surface_size_xy, resulting height decreases at zoom 0.2 ans angle 45
ok 11 - zoom_surface isa SDL::Surface
ok 12 - zoom_surface_size, resulting width decreases at zoom 0.5
ok 13 - zoom_surface_size, resulting height decreases at zoom 0.7
ok 14 - zoom_surface_size, resulting width raises at zoom 1.2
ok 15 - zoom_surface_size, resulting height raises at zoom 7.7
perl: symbol lookup error: /home/tony/dev/sdl-perl/git/SDL_perl/blib/arch/auto/SDL/GFX/Rotozoom/Rotozoom.so: undefined symbol: shrinkSurface

@kthakore kthakore was assigned
@kthakore
PerlGameDev member

Author: kthakore
Time: 1262616955
Field: comment
Value: Tony Can you run this like this:

{{{
perl Build.PL
perl Build test --test_files t/gfx_primitives.t --verbose
}}}
Do you get the same problems?

@kthakore
PerlGameDev member

Author: FROGGS
Time: 1268391362
Field: status
Value: assigned

@kthakore
PerlGameDev member

Author: FROGGS
Time: 1268391362
Field: owner
Value: FROGGS

@kthakore
PerlGameDev member

Author: FROGGS
Time: 1268391362
Field: comment
Value:

@kthakore
PerlGameDev member

Author: FROGGS
Time: 1268614200
Field: status
Value: closed

@kthakore
PerlGameDev member

Author: FROGGS
Time: 1268614200
Field: resolution
Value: fixed

@kthakore
PerlGameDev member

Author: FROGGS
Time: 1268614200
Field: comment
Value: Added version check for these functions.

@kthakore kthakore closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.