[DRE-commits] [ruby-cabin] 01/05: Enable test suite

Tim Potter tpot-guest at moszumanska.debian.org
Wed Jul 1 04:10:40 UTC 2015


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

tpot-guest pushed a commit to branch master
in repository ruby-cabin.

commit 100fadd6e2bb78fca0049391e8da53119975e7cc
Author: Tim Potter <tpot at hp.com>
Date:   Wed Jul 1 13:53:52 2015 +1000

    Enable test suite
---
 debian/ruby-tests.rb | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..32eeb9c 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,2 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
+$: << 'lib' << '.'
+require 'test/all.rb'

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



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