Extend the timeout of test_try_ldflag_invalid_opt and test_try_cppflag_invalid_opt

This commit is contained in:
Yusuke Endoh 2024-06-24 18:14:05 +09:00
parent 65d3eacc80
commit 9cfc1362aa

View File

@ -33,7 +33,7 @@ class TestMkmfFlags < TestMkmf
end
def test_try_ldflag_invalid_opt
assert_separately([], [], <<-'end;') #do
assert_separately([], [], <<-'end;', timeout: 30) #do
assert(!try_ldflags("nosuch.c"), TestMkmf::MKMFLOG)
assert(have_devel?, TestMkmf::MKMFLOG)
end;
@ -47,7 +47,7 @@ class TestMkmfFlags < TestMkmf
end
def test_try_cppflag_invalid_opt
assert_separately([], [], <<-'end;') #do
assert_separately([], [], <<-'end;', timeout: 30) #do
assert(!try_cppflags("nosuch.c"), TestMkmf::MKMFLOG)
assert(have_devel?, TestMkmf::MKMFLOG)
end;