[DRE-commits] [gem2deb] 02/02: test/unit: support tmore packages out of the box

Antonio Terceiro terceiro at moszumanska.debian.org
Tue May 5 15:13:05 UTC 2015


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit 546de2fddc3041d3ccb7fa3fa7ba9aaf09ea0d10
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue May 5 11:59:02 2015 -0300

    test/unit: support tmore packages out of the box
    
    Closes: #784323
---
 debian/changelog            | 8 ++++++++
 lib/gem2deb/dh_make_ruby.rb | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1ab7b80..7e05624 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gem2deb (0.15) UNRELEASED; urgency=medium
+
+  * dh-make-ruby, debian/ruby-tests.rake for test/unit: add 'test' to the
+    $LOAD_PATH by default, and also run tests on test/**/test_*.rb.
+    (Closes: #784323)
+
+ -- Antonio Terceiro <terceiro at debian.org>  Tue, 05 May 2015 11:51:16 -0300
+
 gem2deb (0.14) experimental; urgency=medium
 
   [ Antonio Terceiro ]
diff --git a/lib/gem2deb/dh_make_ruby.rb b/lib/gem2deb/dh_make_ruby.rb
index e145d90..156a4a2 100644
--- a/lib/gem2deb/dh_make_ruby.rb
+++ b/lib/gem2deb/dh_make_ruby.rb
@@ -397,7 +397,8 @@ task :default => :spec
 require 'gem2deb/rake/testtask'
 
 Gem2Deb::Rake::TestTask.new do |t|
-  t.test_files = FileList['test/**/*_test.rb']
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
 end
         EOF
         end

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



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