From: Kartik Thakore Date: Fri, 30 Oct 2009 15:41:18 +0000 (-0400) Subject: Added trap for SDL::init because it keeps crashing on FreeBSD X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a92ef32bacfadab1502694b3f09cc70815acb74f;p=sdlgit%2FSDL_perl.git Added trap for SDL::init because it keeps crashing on FreeBSD --- diff --git a/t/core_time.t b/t/core_time.t index 613b259..7188427 100644 --- a/t/core_time.t +++ b/t/core_time.t @@ -3,17 +3,24 @@ use strict; use SDL; use Test::More; use Test::Trap; +use Data::Dumper; plan ( tests => 4 ); my @done =qw/ none /; SKIP: { - skip 'Not implemented', 2; +skip 'Not implemented', 2; use_ok( 'SDL::Time' ); can_ok ('SDL::Time', @done); } +my @timerInit = trap { SDL::init(SDL_INIT_TIMER) }; + +#diag $trap->leaveby; +#diag Dumper $trap->return; +#diag @timerInit[0]; + my @left = qw/ add_timer delay