[DRE-commits] [ruby-nmatrix] 04/12: use rake method to run tests

Cédric Boutillier boutil at alioth.debian.org
Sun Sep 22 07:59:49 UTC 2013


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

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

commit 1bbdf0d53e49f16633e07ded291320a338055e26
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Sep 10 21:19:32 2013 +0200

    use rake method to run tests
---
 debian/ruby-test-files.yaml |   16 ----------------
 debian/ruby-tests.rake      |    7 +++++++
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 950e729..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
----
-- spec/blas_spec.rb
-- spec/elementwise_spec.rb
-- spec/io_spec.rb
-- spec/lapack_spec.rb
-- spec/leakcheck.rb
-- spec/math_spec.rb
-- spec/nmatrix_list_spec.rb
-- spec/nmatrix_spec.rb
-- spec/nmatrix_yale_spec.rb
-- spec/nvector_spec.rb
-- spec/rspec_monkeys.rb
-- spec/rspec_spec.rb
-- spec/shortcuts_spec.rb
-- spec/slice_spec.rb
-- spec/spec_helper.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b0bf936
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern      = './spec/*_spec.rb'
+end
+
+task :default => :spec

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



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