diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-04 01:36:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-04 01:36:54 +0000 |
commit | a91de8317c75c19abd167387199c8b10ec6c9e22 (patch) | |
tree | 17626327e8b2cee09eed6a156b5c0123fd2e51a5 /test/mkmf | |
parent | e28c3d5df4f5abc83e0d2de34e7ebf675c96a307 (diff) |
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/mkmf')
-rw-r--r-- | test/mkmf/test_flags.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mkmf/test_flags.rb b/test/mkmf/test_flags.rb index 4e0d5f66a2..e49d474dc9 100644 --- a/test/mkmf/test_flags.rb +++ b/test/mkmf/test_flags.rb @@ -34,21 +34,21 @@ class TestMkmf 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 |