[DRE-commits] [ruby-i18n] 05/06: use ruby-tests.rb

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Jul 28 18:45:45 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-i18n.

commit 5cf3a2c0e61cac654980d0f3853f6f1c8ed5cf92
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Jul 28 22:27:52 2015 +0530

    use ruby-tests.rb
---
 debian/ruby-tests.rake | 9 +++++++++
 debian/ruby-tests.rb   | 2 --
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..fc925a8
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,9 @@
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+  test.libs << 'test'
+  test.test_files = FileList["test/**/*_test.rb"]
+  test.verbose = false
+  test.warning = false
+end
+
+task :default => [:test]
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index bb1ab56..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-$: << 'lib' << 'test' << '.'
-require 'test/all'

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



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