mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
run-lcov.rb: support overwritten tmpdir path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d297bb1496
commit
732fe8014a
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#!ruby
|
||||
require "pathname"
|
||||
require "open3"
|
||||
require "tmpdir"
|
||||
|
||||
def backup_gcda_files(gcda_files)
|
||||
gcda_files = gcda_files.map do |gcda|
|
||||
|
@ -33,9 +34,9 @@ def run_lcov_merge(files, info)
|
|||
end
|
||||
|
||||
def run_lcov_remove(info_src, info_out)
|
||||
dirs = %w(/tmp/* /usr/*)
|
||||
dirs = %w(/usr/*)
|
||||
dirs << File.join(Dir.tmpdir, "*")
|
||||
%w(
|
||||
tmp/*
|
||||
test/*
|
||||
ext/-test-/*
|
||||
ext/nkf/nkf-utf8/nkf.c
|
||||
|
|
Loading…
Reference in a new issue