summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-09 08:38:20 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-09 08:38:20 +0000
commitece64610d31df10babc36d770da8395776e888f4 (patch)
tree26255ae8d7d6ead467c9bbe7293ccfaeb56e4852 /test
parent0303a45d0399f089c4920b0bc10ac87482f839ec (diff)
* test/runner.rb: use official repository for coverage tool.
* Makefile.in: ditto. * common.mk: ditto. * .gitignore: ignored third party repositories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/runner.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/runner.rb b/test/runner.rb
index 60ce940..bb8e32c 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -24,9 +24,14 @@ require_relative 'lib/tracepointchecker'
require_relative 'lib/zombie_hunter'
if ENV['COVERAGE']
- $LOAD_PATH.unshift "#{src_testdir}/../coverage/simplecov/lib"
+ %w[doclie simplecov-html simplecov].each do |f|
+ $LOAD_PATH.unshift "#{src_testdir}/../coverage/#{f}/lib"
+ end
+
require 'simplecov'
- SimpleCov.start
+ SimpleCov.start do
+ add_filter "/test/"
+ end
end
begin