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
This commit is contained in:
parent
e28c3d5df4
commit
a91de8317c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user