[DRE-commits] [ruby-text-table] 02/06: Exclude performance tests from the list of run tests (Closes: #795676)

Cédric Boutillier boutil at moszumanska.debian.org
Tue Aug 18 16:05:23 UTC 2015


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

boutil pushed a commit to branch master
in repository ruby-text-table.

commit 06f2d2e8cfb46acbffeeccf04b9c8271f3bd92da
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Aug 18 17:55:56 2015 +0200

    Exclude performance tests from the list of run tests (Closes: #795676)
---
 debian/ruby-tests.rake | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..cd7a01c 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,9 @@
 require 'rspec/core/rake_task'
 
 RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern      = './spec/**/*_spec.rb'
+  spec.pattern      = FileList.new('./spec/**/*_spec.rb') do |fl|
+    fl.exclude(/performance_spec/)
+  end
 end
 
 task :default => :spec

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



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