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,6 +1,7 @@
|
|||||||
#!ruby
|
#!ruby
|
||||||
require "pathname"
|
require "pathname"
|
||||||
require "open3"
|
require "open3"
|
||||||
|
require "tmpdir"
|
||||||
|
|
||||||
def backup_gcda_files(gcda_files)
|
def backup_gcda_files(gcda_files)
|
||||||
gcda_files = gcda_files.map do |gcda|
|
gcda_files = gcda_files.map do |gcda|
|
||||||
@ -33,9 +34,9 @@ def run_lcov_merge(files, info)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def run_lcov_remove(info_src, info_out)
|
def run_lcov_remove(info_src, info_out)
|
||||||
dirs = %w(/tmp/* /usr/*)
|
dirs = %w(/usr/*)
|
||||||
|
dirs << File.join(Dir.tmpdir, "*")
|
||||||
%w(
|
%w(
|
||||||
tmp/*
|
|
||||||
test/*
|
test/*
|
||||||
ext/-test-/*
|
ext/-test-/*
|
||||||
ext/nkf/nkf-utf8/nkf.c
|
ext/nkf/nkf-utf8/nkf.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user