ruby-changes:31027
From: nobu <ko1@a...>
Date: Tue, 1 Oct 2013 20:36:56 +0900 (JST)
Subject: [ruby-changes:31027] nobu:r43106 (trunk): test_config.rb: fix library path
nobu 2013-10-01 20:36:47 +0900 (Tue, 01 Oct 2013) New Revision: 43106 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43106 Log: test_config.rb: fix library path * test/mkmf/test_config.rb (test_dir_config): fix expected library path. [ruby-core:57535] [Bug #8972] Modified files: trunk/test/mkmf/test_config.rb Index: test/mkmf/test_config.rb =================================================================== --- test/mkmf/test_config.rb (revision 43105) +++ test/mkmf/test_config.rb (revision 43106) @@ -8,8 +8,9 @@ class TestMkmf < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/mkmf/test_config.rb#L8 class TestConfig < Test::Unit::TestCase def test_dir_config bug8074 = '[Bug #8074]' + lib = RbConfig.expand(RbConfig::MAKEFILE_CONFIG["libdir"], "exec_prefix"=>"") assert_separately %w[-rmkmf - -- --with-foo-dir=/test/foo], %{ - assert_equal(%w[/test/foo/include /test/foo/lib], dir_config("foo"), #{bug8074.dump}) + assert_equal(%w[/test/foo/include /test/foo#{lib}], dir_config("foo"), #{bug8074.dump}) } end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/