[DRE-commits] [SCM] ruby-mkrf.git branch, master, updated. upstream/0.2.3-16-gc3e579d

Cédric Boutillier cedric.boutillier at gmail.com
Thu Dec 15 23:13:00 UTC 2011


The following commit has been merged in the master branch:
commit c609e9ecc34be30de23da6c2aa1262e6e972897a
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Tue Dec 13 22:51:28 2011 +0100

    activate test suite

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..e5924e5 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1 @@
-# 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")
+Dir['test/{integration,unit}/test_*.rb'].each { |f| require f }

-- 
ruby-mkrf.git



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