[DRE-commits] [SCM] ruby-cri.git branch, master, updated. upstream/2.3.0-13-g724d3f8

Cédric Boutillier boutil at debian.org
Fri Jul 12 22:11:28 UTC 2013


The following commit has been merged in the master branch:
commit f4b04a56dcdbd18f8775a5705821d0cf98036fcf
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Jul 12 23:49:03 2013 +0200

    use rake from inside ruby-tests.rb to run the tests

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..f8c48f9 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,5 @@
-# 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")
+require 'rake'
+app = Rake.application
+app.init
+app.load_rakefile
+app['test'].invoke

-- 
ruby-cri.git



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