r69518 - in /trunk/libdbd-sqlite3-perl/debian: changelog patches/series patches/skip_fts3.patch

mxey-guest at users.alioth.debian.org mxey-guest at users.alioth.debian.org
Thu Feb 24 16:15:48 UTC 2011


Author: mxey-guest
Date: Thu Feb 24 16:15:25 2011
New Revision: 69518

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=69518
Log:
Add patch by paul at city-fan.org to fix test failure

Added:
    trunk/libdbd-sqlite3-perl/debian/patches/skip_fts3.patch
Modified:
    trunk/libdbd-sqlite3-perl/debian/changelog
    trunk/libdbd-sqlite3-perl/debian/patches/series

Modified: trunk/libdbd-sqlite3-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-sqlite3-perl/debian/changelog?rev=69518&op=diff
==============================================================================
--- trunk/libdbd-sqlite3-perl/debian/changelog (original)
+++ trunk/libdbd-sqlite3-perl/debian/changelog Thu Feb 24 16:15:25 2011
@@ -16,6 +16,9 @@
   * Remove patches 0001-Don-t-clean-temporary-files-in-child-processes.patch,
     fix-pod-spelling.patch, both applied upstream.
   * debian/copyright: update years of packaging copyright.
+
+  [ Maximilian Gass ]
+  * Add patch by paul at city-fan.org to fix test failure
 
  -- Jonathan Yu <jawnsy at cpan.org>  Sun, 26 Dec 2010 17:11:56 -0500
 

Modified: trunk/libdbd-sqlite3-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-sqlite3-perl/debian/patches/series?rev=69518&op=diff
==============================================================================
--- trunk/libdbd-sqlite3-perl/debian/patches/series (original)
+++ trunk/libdbd-sqlite3-perl/debian/patches/series Thu Feb 24 16:15:25 2011
@@ -1,1 +1,2 @@
 use_system_sqlite
+skip_fts3.patch

Added: trunk/libdbd-sqlite3-perl/debian/patches/skip_fts3.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-sqlite3-perl/debian/patches/skip_fts3.patch?rev=69518&op=file
==============================================================================
--- trunk/libdbd-sqlite3-perl/debian/patches/skip_fts3.patch (added)
+++ trunk/libdbd-sqlite3-perl/debian/patches/skip_fts3.patch Thu Feb 24 16:15:25 2011
@@ -1,0 +1,28 @@
+Description: Fix FTBFS if system sqlite does not have ENABLE_FTS3_PARENTHESIS
+Author: paul at city-fan.org
+Origin: http://rt.cpan.org/Public/Bug/Display.html?id=61361
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=61361
+--- DBD-SQLite-1.31/t/43_fts3.t	2010-09-15 08:16:43.000000000 +0100
++++ DBD-SQLite-1.31/t/43_fts3.t	2010-09-15 14:50:58.529161202 +0100
+@@ -90,6 +90,11 @@
+   }
+ 
+   # queries
++SKIP: {
++  skip "These tests require SQLite compiled with ENABLE_FTS3_PARENTHESIS option", scalar @tests
++    unless DBD::SQLite->can('compile_options') &&
++    grep /ENABLE_FTS3_PARENTHESIS/, DBD::SQLite::compile_options();
++
+   my $sql = "SELECT docid FROM try_fts3 WHERE content MATCH ?";
+   for my $t (@tests) {
+     my ($query, @expected) = @$t;
+@@ -97,6 +102,9 @@
+     my $results = $dbh->selectcol_arrayref($sql, undef, $query);
+     is_deeply($results, \@expected, "$query (unicode is $use_unicode)");
+   }
++
++}
++
+ }
+ 
+ 




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