[DRE-commits] [SCM] ruby-temple.git branch, master, updated. upstream/0.6.2-22-gbab7269

Jérémy Bobbio lunar at debian.org
Sat Mar 16 08:48:04 UTC 2013


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

    Run tests by calling bacon directly
    
    Upstream Rakefile might actually call bacon using the same version of Ruby
    every time.

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index f8c48f9..fd97d31 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,5 +1,3 @@
-require 'rake'
-app = Rake.application
-app.init
-app.load_rakefile
-app['test'].invoke
+require 'rbconfig'
+ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+exec("#{ruby} /usr/bin/bacon -Ilib -Itest --automatic --quiet")

-- 
ruby-temple.git



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