[DRE-commits] [ruby-acts-as-list] 01/06: use the Rake method to run the tests

Cédric Boutillier boutil at moszumanska.debian.org
Wed Mar 2 19:23:46 UTC 2016


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

boutil pushed a commit to branch master
in repository ruby-acts-as-list.

commit 3d188d4a34f9e49136b073e47c8d4ef94e26891b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Mar 2 20:12:51 2016 +0100

    use the Rake method to run the tests
---
 debian/ruby-test-files.yaml | 10 ----------
 debian/ruby-tests.rake      |  6 ++++++
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index de05ef7..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- test/helper.rb
-- test/shared.rb
-- test/shared_array_scope_list.rb
-- test/shared_list.rb
-- test/shared_list_sub.rb
-- test/shared_no_addition.rb
-- test/shared_top_addition.rb
-- test/shared_zero_based.rb
-- test/test_list.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..63f3fd6
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
+end

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



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