ruby-changes:37406
From: nobu <ko1@a...>
Date: Wed, 4 Feb 2015 10:37:12 +0900 (JST)
Subject: [ruby-changes:37406] nobu:r49487 (trunk): mkmf.rb: err by non existent file
nobu 2015-02-04 10:36:54 +0900 (Wed, 04 Feb 2015) New Revision: 49487 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49487 Log: mkmf.rb: err by non existent file * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): err by non existent source file. [ruby-core:67962] [Bug #10821] Modified files: trunk/test/mkmf/test_flags.rb Index: test/mkmf/test_flags.rb =================================================================== --- test/mkmf/test_flags.rb (revision 49486) +++ test/mkmf/test_flags.rb (revision 49487) @@ -34,21 +34,21 @@ class TestMkmf https://github.com/ruby/ruby/blob/trunk/test/mkmf/test_flags.rb#L34 def test_try_ldflag_invalid_opt assert_separately([], <<-'end;') #do - assert(!try_ldflags("----------")) + assert(!try_ldflags("nosuch.c"), TestMkmf::MKMFLOG) assert(have_devel?, TestMkmf::MKMFLOG) end; end def test_try_cflag_invalid_opt assert_separately([], <<-'end;') #do - assert(!try_cflags("----------")) + assert(!try_cflags("nosuch.c"), TestMkmf::MKMFLOG) assert(have_devel?, TestMkmf::MKMFLOG) end; end def test_try_cppflag_invalid_opt assert_separately([], <<-'end;') #do - assert(!try_cppflags("----------")) + assert(!try_cppflags("nosuch.c"), TestMkmf::MKMFLOG) assert(have_devel?, TestMkmf::MKMFLOG) end; end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/