Skip to content

Commit

Permalink
SDL_mixer is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Leich committed Mar 25, 2010
1 parent f9fbe8f commit 78ce693
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions t/smpeg.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ use SDL::Config;

use Test::More;

if ( SDL::Config->has('smpeg') && SDL::Config->has('SDL_mixer') ) {
if ( SDL::Config->has('smpeg') ) {
plan ( tests => 2 );
} else {
plan ( skip_all =>
( SDL::Config->has('smpeg') ? '' : ' smpeg support not compiled') .
( SDL::Config->has('SDL_mixer') ? '' : ' SDL_mixer support not compiled') );
plan ( skip_all => ( SDL::Config->has('smpeg') ? '' : ' smpeg support not compiled') );
}

use_ok( 'SDL::SMPEG' );
Expand All @@ -38,7 +36,7 @@ can_ok ('SDL::SMPEG', qw/
region
frame
info
status /);

status
/);

sleep(2);

0 comments on commit 78ce693

Please sign in to comment.