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

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

Comments

Projects
None yet
1 participant
@kthakore
Member

kthakore commented Jul 26, 2011

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

@ghost ghost assigned kthakore Jul 26, 2011

@kthakore

This comment has been minimized.

Show comment
Hide comment
@kthakore

kthakore Jul 26, 2011

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?

Member

kthakore commented Jul 26, 2011

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

This comment has been minimized.

Show comment
Hide comment
@kthakore

kthakore Jul 26, 2011

Member

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

Member

kthakore commented Jul 26, 2011

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

@kthakore

This comment has been minimized.

Show comment
Hide comment
@kthakore

kthakore Jul 26, 2011

Member

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

Member

kthakore commented Jul 26, 2011

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

@kthakore

This comment has been minimized.

Show comment
Hide comment
@kthakore

kthakore Jul 26, 2011

Member

Author: FROGGS
Time: 1268391362
Field: comment
Value:

Member

kthakore commented Jul 26, 2011

Author: FROGGS
Time: 1268391362
Field: comment
Value:

@kthakore

This comment has been minimized.

Show comment
Hide comment
@kthakore

kthakore Jul 26, 2011

Member

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

Member

kthakore commented Jul 26, 2011

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

@kthakore

This comment has been minimized.

Show comment
Hide comment
@kthakore

kthakore Jul 26, 2011

Member

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

Member

kthakore commented Jul 26, 2011

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

@kthakore

This comment has been minimized.

Show comment
Hide comment
@kthakore

kthakore Jul 26, 2011

Member

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

Member

kthakore commented Jul 26, 2011

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

@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