[DRE-commits] [ruby-rugged] 03/04: run tests with the ruby method

Cédric Boutillier boutil at moszumanska.debian.org
Fri Apr 3 12:31:31 UTC 2015


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

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

commit 8cc48fe4a536ca57521b1c2dd47dd4ed12004771
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Sep 8 15:46:51 2014 +0200

    run tests with the ruby method
---
 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..0b5ce95 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")
+$: << './test'
+Dir['test/**/*_test.rb'].each { |f| require f }

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



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