[DRE-commits] [ruby-prof] 06/10: use rake for tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Sep 14 16:37:16 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-prof.

commit a86fcbbaa9c0502282ee81969627036273d2a1a1
Author: Pirate Praveen <praveen at debian.org>
Date:   Wed Sep 14 21:55:42 2016 +0530

    use rake for tests
---
 debian/ruby-test-files.yaml | 3 ---
 debian/ruby-tests.rake      | 6 ++++++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 47009f9..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- test/test_helper.rb
-- test/test_suite.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..074ee89
--- /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/**/*_printer_test.rb'] - FileList['test/recursive_test.rb']
+end

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



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