8 # Don't run tests for installs
10 unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
11 plan( skip_all => "Author tests not required for installation" );
17 SDL::Init(SDL_INIT_VIDEO);
19 my $display = SDL::SetVideoMode(640,480,32, SDL_SWSURFACE );
21 my $overlay = SDL::Overlay->new( 100, 100, SDL_YV12_OVERLAY, $display);
30 eval 'use Test::Valgrind';
31 plan skip_all => 'Test::Valgrind is required to test your distribution with valgrind' if $@;