[DRE-commits] [ruby-psych] 17/18: Enable tests
Miguel Landaeta
nomadium at moszumanska.debian.org
Wed Mar 15 21:43:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch master
in repository ruby-psych.
commit 425b00610927486177bad79a2a4e68b2d7ffd329
Author: Miguel Landaeta <nomadium at debian.org>
Date: Wed Mar 15 21:21:24 2017 +0000
Enable tests
---
debian/ruby-tests.rake | 6 +++++-
debian/rules | 7 +++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 382a1a1..eb1e3f1 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,9 @@
require 'gem2deb/rake/testtask'
Gem2Deb::Rake::TestTask.new do |t|
- t.test_files = FileList['test/*_test.rb']
+ t.libs << "test"
+ t.libs << "lib"
+ t.test_files = FileList['test/**/test_*.rb']
+ t.verbose = true
+ t.warning = true
end
diff --git a/debian/rules b/debian/rules
index e748f1e..da3b15d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,13 @@ override_dh_auto_install:
dh_auto_install
-rm -r ./debian/ruby-psych/usr/bin
+override_dh_auto_test:
+ dh_auto_test
+ # ignore failures with jruby, unfortunately upstream is failing in
+ # similar way and this is expected.
+ # (e.g. https://travis-ci.org/ruby/psych/jobs/208654321)
+ -jruby -S rake test
+
override_dh_auto_clean:
dh_auto_clean
jruby -S rake clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-psych.git
More information about the Pkg-ruby-extras-commits
mailing list