[DRE-commits] [ruby-simplecov] 07/11: add debian/patches/skip-broken-test.patch

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Sep 15 15:29:33 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-simplecov.

commit cd5d3d4e1f299d71ca77557b0d9a143722bf4fb2
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Sep 15 12:12:28 2015 -0300

    add debian/patches/skip-broken-test.patch
---
 debian/changelog                      |  1 +
 debian/patches/series                 |  1 +
 debian/patches/skip-broken-test.patch | 17 +++++++++++++++++
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0fedaec..c300886 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ruby-simplecov (0.10.0-1) UNRELEASED; urgency=medium
     - debian/patches/ignore-simplecov-html: improved to not try using
       simplecov-html at all, and use a simple text formatted instead
       (Closes: #770225)
+    - add debian/patches/skip-broken-test.patch
   * Update packaging with a new dh-make-ruby run
   * debian/control: Build-Depends: ruby-minitest
 
diff --git a/debian/patches/series b/debian/patches/series
index 94a931a..7c15d51 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 remove-rubygems-bundler.patch
 ignore-simplecov-html
+skip-broken-test.patch
diff --git a/debian/patches/skip-broken-test.patch b/debian/patches/skip-broken-test.patch
new file mode 100644
index 0000000..bbde777
--- /dev/null
+++ b/debian/patches/skip-broken-test.patch
@@ -0,0 +1,17 @@
+Description: Skip broken test
+  On recent minitest, Test::Unit is not defined by default. Pending: check if
+  upstream is affected by this, with all the bundle ocus pocus.
+Author: Antonio Terceiro <terceiro at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2015-09-15
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/test_command_guesser.rb
++++ b/test/test_command_guesser.rb
+@@ -15,5 +15,4 @@ class TestCommandGuesser < Minitest::Tes
+   should_guess_command_name "Integration Tests", "/some/path/test/integration/foo_bar_controller_test.rb", "test/integration/**/*_test.rb"
+   should_guess_command_name "Cucumber Features", "features", "cucumber", "cucumber features"
+   should_guess_command_name "RSpec", "/some/path/spec/foo.rb"
+-  should_guess_command_name "Unit Tests", "some_arbitrary_command with arguments" # Because Test::Unit const is defined!
+ end if SimpleCov.usable?

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



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