[DRE-commits] [SCM] ruby-creole.git branch, master, updated. upstream/0.5.0-18-g99534fb

Jérémy Bobbio lunar at debian.org
Sat Mar 16 09:11:57 UTC 2013


The following commit has been merged in the master branch:
commit bd3eb459cf5dee2ac628bada11bd8e1c7b286a18
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sat Mar 16 08:49:19 2013 +0000

    Run upstream tests using bacon

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..43e53db 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,3 @@
-# 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 'rbconfig'
+ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+exec("#{ruby} /usr/bin/bacon -q -Ilib:test test/*_test.rb")

-- 
ruby-creole.git



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