[DRE-commits] [SCM] ruby-flexmock.git branch, master, updated. bf9c24985fdcf40626f2c266d00c62aaa77106b5

Antonio Terceiro terceiro at softwarelivre.org
Sat Nov 19 16:59:26 UTC 2011


The following commit has been merged in the master branch:
commit f18c40bcbcaf956ac30d127ae43393140b5cbaf6
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Fri Nov 18 16:48:53 2011 -0200

    run test with rake during build

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..ef37f95 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} -S rake")

-- 
ruby-flexmock.git



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