[DRE-commits] [ruby-rmagick] 10/15: debian/ruby-tests.rake: run both tests from both spec/ and test/

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Dec 4 15:35:04 UTC 2016


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

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

commit 9388868dc2ac10cd4fa8b885ce88040c0a28905c
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Dec 4 10:15:29 2016 -0200

    debian/ruby-tests.rake: run both tests from both spec/ and test/
---
 debian/changelog       | 1 +
 debian/ruby-tests.rake | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2a9ae8b..4186f73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ ruby-rmagick (2.16.0-1) UNRELEASED; urgency=medium
   * Drop ruby-setup from Build-Depends:, not really needed
   * 0005-gemspec-fix-error-when-loading.patch,
     0006-gemspec-drop-git-usage.patch: adjust gemspec
+  * debian/ruby-tests.rake: run both tests from both spec/ and test/
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 03 Dec 2016 10:26:54 -0200
 
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index cf1591e..20d6770 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,10 @@
 require 'gem2deb/rake/spectask'
+require 'gem2deb/rake/testtask'
 
-Gem2Deb::Rake::RSpecTask.new do |spec|
+Gem2Deb::Rake::RSpecTask.new(:spec) do |spec|
   spec.pattern = './spec/**/*_spec.rb'
 end
+
+Gem2Deb::Rake::TestTask.new(:test)
+
+task :default => [:spec,:test]

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



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