[DRE-commits] [ruby-libxml] 02/03: Use the rake method to run the tests

Cédric Boutillier boutil at moszumanska.debian.org
Sun Jul 3 16:50:06 UTC 2016


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

boutil pushed a commit to branch master
in repository ruby-libxml.

commit 42d75bb20f03487c4af129a6e55bedb443e10b92
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sun Jul 3 18:46:15 2016 +0200

    Use the rake method to run the tests
---
 debian/ruby-tests.rake | 7 +++++++
 debian/ruby-tests.rb   | 3 ---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..fa3c1b1
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.verbose = true
+  t.test_files = FileList['test/test_suite.rb']
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index e45c4ab..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/ruby
-
-require "test/test_suite.rb" #unless RbConfig::CONFIG["arch"] =~ /^(aarch|arm|powerpc|hppa|s390)/

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



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