Move test files back directly to test/.
This commit is contained in:
parent
9dc1f8f3cd
commit
7457af2b23
@ -44,8 +44,8 @@ module Homebrew
|
|||||||
# Make it easier to reproduce test runs.
|
# Make it easier to reproduce test runs.
|
||||||
ENV["SEED"] = ARGV.next if ARGV.include? "--seed"
|
ENV["SEED"] = ARGV.next if ARGV.include? "--seed"
|
||||||
|
|
||||||
files = Dir.glob("test/test/**/*_test.rb")
|
files = Dir.glob("test/**/*_test.rb")
|
||||||
.reject { |p| !OS.mac? && p.start_with?("test/test/os/mac/") }
|
.reject { |p| !OS.mac? && p.start_with?("test/os/mac/") }
|
||||||
|
|
||||||
opts = []
|
opts = []
|
||||||
opts << "--serialize-stdout" if ENV["CI"]
|
opts << "--serialize-stdout" if ENV["CI"]
|
||||||
@ -55,7 +55,7 @@ module Homebrew
|
|||||||
|
|
||||||
if ARGV.value("only")
|
if ARGV.value("only")
|
||||||
test_name, test_method = ARGV.value("only").split(":", 2)
|
test_name, test_method = ARGV.value("only").split(":", 2)
|
||||||
files = Dir.glob("test/test/{#{test_name},#{test_name}/**/*}_test.rb")
|
files = Dir.glob("test/{#{test_name},#{test_name}/**/*}_test.rb")
|
||||||
args << "--name=test_#{test_method}" if test_method
|
args << "--name=test_#{test_method}" if test_method
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user