[DRE-commits] [ruby-github-markup] 03/04: Run tests with rake instead of plain ruby

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Nov 16 00:56:02 UTC 2016


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

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

commit e98a37239bf35b91fe57f4b1248de32bd702c1a1
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Nov 15 21:49:32 2016 -0300

    Run tests with rake instead of plain ruby
---
 debian/changelog       | 1 +
 debian/ruby-tests.rake | 6 ++++++
 debian/ruby-tests.rb   | 1 -
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0de742a..26b6006 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-github-markup (1.5.0+dfsg-3) UNRELEASED; urgency=medium
   * Team upload.
   * Drop dependency and build-dependency on ruby-bluecloth
   * debian/rules: check dependencies during build
+  * Run tests with rake instead of plain ruby
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 15 Nov 2016 21:45:19 -0300
 
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
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index b6577fa..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-require 'test/markup_test.rb'

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



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