[DRE-commits] [ruby-launchy] 08/13: Patch to disable coverage during tests
Gioele Barabucci
gioele-guest at alioth.debian.org
Sat Oct 5 13:43:22 UTC 2013
This is an automated email from the git hooks/post-receive script.
gioele-guest pushed a commit to branch master
in repository ruby-launchy.
commit 827cc0ebcb7237e89dc0db504652ff6301be0ebd
Author: Gioele Barabucci <gioele at svario.it>
Date: Sat Oct 5 12:08:51 2013 +0000
Patch to disable coverage during tests
---
.../0003-Disable-coverage-during-tests.patch | 26 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/0003-Disable-coverage-during-tests.patch b/debian/patches/0003-Disable-coverage-during-tests.patch
new file mode 100644
index 0000000..8c5062b
--- /dev/null
+++ b/debian/patches/0003-Disable-coverage-during-tests.patch
@@ -0,0 +1,26 @@
+From: Gioele Barabucci <gioele at svario.it>
+Date: Sat, 5 Oct 2013 12:08:27 +0000
+Subject: Disable coverage during tests
+
+---
+ spec/spec_helper.rb | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 262182e..f206eec 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,8 +1,8 @@
+-if RUBY_VERSION >= '1.9.2' then
+- require 'simplecov'
+- puts "Using coverage!"
+- SimpleCov.start if ENV['COVERAGE']
+-end
++#if RUBY_VERSION >= '1.9.2' then
++# require 'simplecov'
++# puts "Using coverage!"
++# SimpleCov.start if ENV['COVERAGE']
++#end
+
+ gem 'minitest'
+ require 'launchy'
diff --git a/debian/patches/series b/debian/patches/series
index fbd7dd4..5120236 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Comment-out-RDoc-generation-task.patch
0002-Comment-out-coverage-tasks.patch
+0003-Disable-coverage-during-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-launchy.git
More information about the Pkg-ruby-extras-commits
mailing list