[DRE-commits] [SCM] ruby-dataobjects.git branch, master, updated. debian/0.10.8-1-3-g0584d89
Cédric Boutillier
cedric.boutillier at gmail.com
Wed May 23 22:54:42 UTC 2012
The following commit has been merged in the master branch:
commit e338fa20be26cb2a979a7bb5a0de8b8455aa8e1c
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Tue May 22 01:11:59 2012 +0200
deactivate failing shared test on Hurd and FreeBSD
diff --git a/debian/changelog b/debian/changelog
index 9b26ef2..b95734b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-dataobjects (0.10.8-2) unstable; urgency=low
+
+ * Add 0030_deactivate_asynchronous_shared_spec_on_non_linux.patch
+ to temporarily deactivate a shared test failing with
+ ruby-dataobjects-mysql on FreeBSD and Hurd (Closes: #672714)
+
+ -- Cédric Boutillier <cedric.boutillier at gmail.com> Tue, 22 May 2012 01:11:04 +0200
+
ruby-dataobjects (0.10.8-1) unstable; urgency=low
* New upstream version
diff --git a/debian/patches/0030_deactivate_asynchronous_shared_spec_on_non_linux.patch b/debian/patches/0030_deactivate_asynchronous_shared_spec_on_non_linux.patch
new file mode 100644
index 0000000..6a3c66c
--- /dev/null
+++ b/debian/patches/0030_deactivate_asynchronous_shared_spec_on_non_linux.patch
@@ -0,0 +1,23 @@
+Description: Mark as pending a test about asynchronous command on non linux
+ The shared test "should finish within 2 seconds" currently fails with
+ ruby-dataobjects-mysql on Debian FreeBSD and Hurd. Temporarily mark it as
+ pending on these architectures to allow packages to build.
+ ruby-dataobjects-mysql should start FTBFS again as soon as the test will pass
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Bug: https://github.com/datamapper/do/issues/33
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672714
+Last-Update: 2012-05-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/lib/data_objects/spec/shared/command_spec.rb
++++ b/lib/data_objects/spec/shared/command_spec.rb
+@@ -224,7 +224,8 @@
+ end
+
+ it "should finish within 2 seconds" do
+- pending_if("Ruby on Windows doesn't support asynchronous operations", WINDOWS) do
++ #pending_if("Ruby on Windows doesn't support asynchronous operations", WINDOWS) do
++ pending_if("This test currently fails on Debian FreeBSD and Hurd (#672714)", `dpkg-architecture -qDEB_BUILD_ARCH_OS` !~ /linux/) do
+ (@finish - @start).should < 2
+ end
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 91115c6..7114794 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0010_remove_rubygems_from_specs.patch
0020_set_WINDOWS_to_false_in_shared_spec.patch
+0030_deactivate_asynchronous_shared_spec_on_non_linux.patch
--
ruby-dataobjects.git
More information about the Pkg-ruby-extras-commits
mailing list