зеркало из https://github.com/github/ruby.git
* test/test_rbconfig.rb (TestRbConfig): fix r39372.
It must see RbConfig::CONFIG instead of CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c84a9acb28
Коммит
7dd6e08b93
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Feb 22 17:36:23 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/test_rbconfig.rb (TestRbConfig): fix r39372.
|
||||||
|
It must see RbConfig::CONFIG instead of CONFIG.
|
||||||
|
|
||||||
Fri Feb 22 14:55:41 2013 Naohisa Goto <ngotogenome@gmail.com>
|
Fri Feb 22 14:55:41 2013 Naohisa Goto <ngotogenome@gmail.com>
|
||||||
|
|
||||||
* signal.c (ruby_abort): fix typo in r39354 [Bug #5014]
|
* signal.c (ruby_abort): fix typo in r39354 [Bug #5014]
|
||||||
|
|
|
@ -5,7 +5,7 @@ require 'shellwords'
|
||||||
class TestRbConfig < Test::Unit::TestCase
|
class TestRbConfig < Test::Unit::TestCase
|
||||||
@@with_config = {}
|
@@with_config = {}
|
||||||
|
|
||||||
Shellwords::shellwords(CONFIG["configure_args"]).grep(/\A--with-([^=]*)=(.*)/) do
|
Shellwords::shellwords(RbConfig::CONFIG["configure_args"]).grep(/\A--with-([^=]*)=(.*)/) do
|
||||||
@@with_config[$1.tr('_', '-')] = $2
|
@@with_config[$1.tr('_', '-')] = $2
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче