Your message dated Thu, 13 Sep 2012 13:26:31 +0200
with message-id <[email protected]>
and subject line Re: Bug#687494: unblock: ruby-mocha/0.11.3-3
has caused the Debian Bug report #687494,
regarding unblock: ruby-mocha/0.11.3-3
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
687494: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687494
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
Please unblock package ruby-mocha, version 0.11.3-3 uploaded in
unstable.
This version fixes RC bug #684860, caused by an improper order of
'require' statement for some particular order of tests.
This has been fixed by modifying slightly one of the patches. The
debdiff against 0.11.3-2 is attached.
Thanks!
Cédric
unblock ruby-mocha/0.11.3-3
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru ruby-mocha-0.11.3/debian/changelog ruby-mocha-0.11.3/debian/changelog
--- ruby-mocha-0.11.3/debian/changelog 2012-06-27 00:01:49.000000000 +0200
+++ ruby-mocha-0.11.3/debian/changelog 2012-09-13 10:53:53.000000000 +0200
@@ -1,3 +1,12 @@
+ruby-mocha (0.11.3-3) unstable; urgency=low
+
+ * Modify remove_rubygems_stuff_in_minitest_test.patch to restore
+ loading of minitest/unit conditional to the definition of MiniTest.
+ Loading minitest/unit before Minitest is defined screens the definition of
+ TestUnitResult, causing tests to fail (Closes: #684860).
+
+ -- Cédric Boutillier <[email protected]> Wed, 12 Sep 2012 12:41:26 +0200
+
ruby-mocha (0.11.3-2) unstable; urgency=low
* Bump the build-dependency on gem2deb to >= 0.3.0~ (closes: #674388).
diff -Nru ruby-mocha-0.11.3/debian/patches/remove_rubygems_stuff_in_minitest_test.patch ruby-mocha-0.11.3/debian/patches/remove_rubygems_stuff_in_minitest_test.patch
--- ruby-mocha-0.11.3/debian/patches/remove_rubygems_stuff_in_minitest_test.patch 2012-04-22 18:44:01.000000000 +0200
+++ ruby-mocha-0.11.3/debian/patches/remove_rubygems_stuff_in_minitest_test.patch 2012-09-12 12:40:52.000000000 +0200
@@ -1,16 +1,10 @@
Description: do not rely on rubygems to load minitest
- Moreover, minitest/unit should be loaded before acceptance_test_helper to
- avoid conflicts with test/unit, which gets loaded in this file if Minitest is
- not defined
Author: Cédric Boutillier <[email protected]>
-Last-Update: 2011-01-31
+Last-Update: 2012-09-11
--- a/test/acceptance/minitest_test.rb
+++ b/test/acceptance/minitest_test.rb
-@@ -1,20 +1,9 @@
-+require 'minitest/unit'
- require File.expand_path('../acceptance_test_helper', __FILE__)
-
+@@ -3,12 +3,12 @@
if defined?(MiniTest)
$stderr.puts "TODO: Running suite with MiniTest, running the MiniTestAdapterTest results in an error so skipping it for now."
else
@@ -20,12 +14,12 @@
- rescue Gem::LoadError
- # MiniTest gem not available
- end
--
-- begin
-- require 'minitest/unit'
-- rescue LoadError
-- # MiniTest not available
-- end
-
- if defined?(MiniTest)
++# begin
++# require 'rubygems'
++# gem 'minitest'
++# rescue Gem::LoadError
++# # MiniTest gem not available
++# end
+ begin
+ require 'minitest/unit'
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
On 13/09/12 11:49, Cédric Boutillier wrote:
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
Please unblock package ruby-mocha, version 0.11.3-3 uploaded in
unstable.
This version fixes RC bug #684860, caused by an improper order of
'require' statement for some particular order of tests.
This has been fixed by modifying slightly one of the patches. The
debdiff against 0.11.3-2 is attached.
Unblocked.
Regards,
--
Mehdi Dogguy
--- End Message ---