[DRE-commits] [ruby-barby] 07/10: run tests during build

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Dec 10 15:42:19 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-barby.

commit ca473ba12faee0133dd5f92e9809005b0a7e7d3d
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Dec 10 13:32:16 2016 -0200

    run tests during build
---
 debian/changelog       | 1 +
 debian/ruby-tests.rake | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fa10fd3..e242629 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ ruby-barby (0.6.5-1) UNRELEASED; urgency=medium
   * New upstream version 0.6.5
   * update packaging with `dh-make-ruby -w`
   * debian/rules: fix post-install cleanups
+  * run tests during build
 
  -- Cédric Boutillier <boutil at moszumanska.debian.org>  Sat, 10 Dec 2016 13:30:47 -0200
 
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-barby.git



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