mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Split test/ripper/test_files.rb to run in parallel
This commit is contained in:
parent
11f3da8e9d
commit
d2710ba866
7 changed files with 56 additions and 18 deletions
9
test/ripper/test_files_test_2.rb
Normal file
9
test/ripper/test_files_test_2.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
require_relative 'assert_parse_files.rb'
|
||||
class TestRipper::Generic
|
||||
Dir["#{SRCDIR}/test/[o-z]*/"].each do |dir|
|
||||
dir = dir[(SRCDIR.length+1)..-2]
|
||||
define_method("test_parse_files:#{dir}") do
|
||||
assert_parse_files(dir)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue