[libsdl-perl] 01/01: Added patch to fix runaway test (Closes: #721405)

dod at debian.org dod at debian.org
Sun Sep 8 06:53:53 UTC 2013


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libsdl-perl.

commit 0c7dc9269f9cab5a7daad5d1c18cbb7be0a588ec
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Sep 8 08:53:34 2013 +0200

    Added patch to fix runaway test (Closes: #721405)
---
 debian/patches/fix-runaway-test |   23 +++++++++++++++++++++++
 debian/patches/series           |    1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/fix-runaway-test b/debian/patches/fix-runaway-test
new file mode 100644
index 0000000..fc7fdbb
--- /dev/null
+++ b/debian/patches/fix-runaway-test
@@ -0,0 +1,23 @@
+Description: Fix runaway test
+ Test case requires the creation of an event. This creation require the specification of an event type. Otherwise the event may not fire on some arch like ia64 or armhf. If the event does not fire, the test does not end.
+Bug-Debian: #721405
+Author: kthakore
+Origin: upstream
+--- a/t/sdlx_controller_interface.t
++++ b/t/sdlx_controller_interface.t
+@@ -9,6 +9,7 @@
+ use lib 't/lib';
+ use SDL::TestTool;
+ use Data::Dumper;
++use SDL::Events;
+ 
+ my $videodriver = $ENV{SDL_VIDEODRIVER};
+ $ENV{SDL_VIDEODRIVER} = 'dummy';
+@@ -79,6 +80,7 @@
+ require SDL::Event;
+ require SDL::Events;
+ my $eve = SDL::Event->new();
++$eve->type(SDL_USEREVENT);
+ 
+ SDL::Events::push_event($eve);
+ my $counts = [ 0, 0, 0 ];
diff --git a/debian/patches/series b/debian/patches/series
index be6009f..011f7f8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-runaway-test
 fix-centered-text
 relax-module-build
 do_not_ship_ttf_font

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsdl-perl.git



More information about the Pkg-perl-cvs-commits mailing list