[DRE-commits] [ruby-moneta] 02/10: disable unsupported libs tests

Daisuke Higuchi dai at moszumanska.debian.org
Sat Aug 19 15:58:38 UTC 2017


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

dai pushed a commit to branch exp/debian
in repository ruby-moneta.

commit 22b2c8bd7e557cb5641afd566e2d7c06fcbd4944
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Sat Aug 19 22:06:28 2017 +0900

    disable unsupported libs tests
---
 .../0400-disable-unsupported-libs-tests.patch      | 38 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 39 insertions(+)

diff --git a/debian/patches/0400-disable-unsupported-libs-tests.patch b/debian/patches/0400-disable-unsupported-libs-tests.patch
new file mode 100644
index 0000000..981d8ba
--- /dev/null
+++ b/debian/patches/0400-disable-unsupported-libs-tests.patch
@@ -0,0 +1,38 @@
+Description: Disable unsupported libs tests
+Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
+
+Index: ruby-moneta/script/parallel-tests
+===================================================================
+--- ruby-moneta.orig/script/parallel-tests
++++ ruby-moneta/script/parallel-tests
+@@ -42,6 +42,30 @@ specs -= unstable
+ # action_dispatch is not available in Debian
+ specs.delete_if { |s| s =~ /spec\/action_dispatch\// }
+ 
++# disable tests
++disable_debian = %w(
++	bson
++	city
++	dalli
++	datamapper
++	daybreak
++	faraday
++	hbase
++	leveldb
++	lmdb
++	localmemcache
++	lz4
++	memcached
++	php
++	redis
++	snappy
++	tdb
++	tokyotyrant
++)
++disable_debian_re = /#{disable_debian.join('|')}/
++disable_debian = specs.select {|s| s =~ disable_debian_re }
++specs -= disable_debian
++
+ group = ARGV.first || '1/1'
+ case group
+ when /^(\d+)\/(\d+)$/
diff --git a/debian/patches/series b/debian/patches/series
index 552b23e..54851d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0099-Re-generate-specs-using-script-generate-specs.patch
 0100-Do-not-run-action_dispatch-specs.patch
 0300-disable-kyotocabinet-support.patch
+0400-disable-unsupported-libs-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-moneta.git



More information about the Pkg-ruby-extras-commits mailing list