aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_thread.rb
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 06:07:05 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 06:07:05 +0000
commite43f304478fddea3ee8c53a82d5f9ae83b379768 (patch)
treea817ce768cd90aeeb488dd7eaecbf2004f3d24e8 /test/ruby/test_thread.rb
parent3c8c17d30defb41399eed65f2cf0f30e5469fa07 (diff)
downloadruby-e43f304478fddea3ee8c53a82d5f9ae83b379768.tar.gz
Measure branch and method coverage for `make test-all`
To measure coverage of C code: `./configure --enable-gcov && make && make exam && make lcov` To measure coverage of Ruby code: `./configure && make && make exam COVERAGE=true && make lcov` To measure coverage of both languages at a time: `./configure --enable-gcov && make && make exam COVERAGE=true && make lcov` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r--test/ruby/test_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index dbe4ac21b9..02f83d05ca 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -1148,7 +1148,7 @@ q.pop
end
Process.wait2(f.pid)
end
- unless th.join(EnvUtil.apply_timeout_scale(3))
+ unless th.join(EnvUtil.apply_timeout_scale(30))
Process.kill(:QUIT, f.pid)
Process.kill(:KILL, f.pid) unless th.join(EnvUtil.apply_timeout_scale(1))
end