[DRE-commits] [SCM] ruby-hpricot.git branch, master, updated. upstream/0.8.4-7-g82ce879

Cédric Boutillier cedric.boutillier at gmail.com
Fri Aug 19 10:49:08 UTC 2011


The following commit has been merged in the master branch:
commit 21c82fe1a1440cd413580fac169284695168aa0d
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Sun Aug 14 06:21:30 2011 +0200

    enable test suite (except deprecated nokogiri-benchmark)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..1631e59 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 }

-- 
ruby-hpricot.git



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