Skip to content

Commit 9cfc136

Browse files
committed
Extend the timeout of test_try_ldflag_invalid_opt and test_try_cppflag_invalid_opt
1 parent 65d3eac commit 9cfc136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/mkmf/test_flags.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_valid_warnflags
3333
end
3434

3535
def test_try_ldflag_invalid_opt
36-
assert_separately([], [], <<-'end;') #do
36+
assert_separately([], [], <<-'end;', timeout: 30) #do
3737
assert(!try_ldflags("nosuch.c"), TestMkmf::MKMFLOG)
3838
assert(have_devel?, TestMkmf::MKMFLOG)
3939
end;
@@ -47,7 +47,7 @@ def test_try_cflag_invalid_opt
4747
end
4848

4949
def test_try_cppflag_invalid_opt
50-
assert_separately([], [], <<-'end;') #do
50+
assert_separately([], [], <<-'end;', timeout: 30) #do
5151
assert(!try_cppflags("nosuch.c"), TestMkmf::MKMFLOG)
5252
assert(have_devel?, TestMkmf::MKMFLOG)
5353
end;

0 commit comments

Comments
 (0)