1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip some tests if extracted from tarball (again)

ref 9aa75795f9
This commit is contained in:
Kazuhiro NISHIYAMA 2019-11-18 23:39:57 +09:00
parent 185f49f90c
commit 1f011cccb1
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -34,18 +34,22 @@ module Spec
end
def tracked_files
skip "not in git working directory" unless git_root_dir?
@tracked_files ||= sys_exec(ruby_core? ? "git ls-files -z -- lib/bundler lib/bundler.rb spec/bundler man/bundler*" : "git ls-files -z", :dir => root).split("\x0")
end
def shipped_files
skip "not in git working directory" unless git_root_dir?
@shipped_files ||= sys_exec(ruby_core? ? "git ls-files -z -- lib/bundler lib/bundler.rb man/bundler* libexec/bundle*" : "git ls-files -z -- lib man exe CHANGELOG.md LICENSE.md README.md bundler.gemspec", :dir => root).split("\x0")
end
def lib_tracked_files
skip "not in git working directory" unless git_root_dir?
@lib_tracked_files ||= sys_exec(ruby_core? ? "git ls-files -z -- lib/bundler lib/bundler.rb" : "git ls-files -z -- lib", :dir => root).split("\x0")
end
def man_tracked_files
skip "not in git working directory" unless git_root_dir?
@man_tracked_files ||= sys_exec(ruby_core? ? "git ls-files -z -- man/bundler*" : "git ls-files -z -- man", :dir => root).split("\x0")
end