[DRE-commits] [SCM] ruby-flexmock.git branch, master, updated. bf9c24985fdcf40626f2c266d00c62aaa77106b5
Antonio Terceiro
terceiro at softwarelivre.org
Sat Nov 19 16:59:31 UTC 2011
The following commit has been merged in the master branch:
commit 3bcce4d7d8a705a10e4da174b3b2b9db406cec52
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date: Sat Nov 19 12:38:12 2011 -0200
Force stdlib first in $LOAD_PATH
This is to avoid incompatibility with the standalone ruby-test-unit
library: there is one test that does not pass with it and only passes
with 'test/unit' from the standard library - for both MRI 1.8 and MRI
1.9
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index ef37f95..1f28132 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,3 +1,4 @@
require 'rbconfig'
+ENV['RUBYOPT'] = '-I' + RbConfig::CONFIG['rubylibdir'] # give priority to test/unit from the stdlib
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