зеркало из https://github.com/github/ruby.git
* lib/test/unit/collector/dir.rb: better support for -p/-x option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b37319295d
Коммит
0fe17f5d81
|
@ -1,3 +1,7 @@
|
|||
Fri Nov 19 22:44:43 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/test/unit/collector/dir.rb: better support for -p/-x option.
|
||||
|
||||
Fri Nov 19 17:46:56 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
|
||||
|
|
|
@ -55,6 +55,7 @@ module Test
|
|||
sub_suite = recursive_collect(e_name, already_gathered)
|
||||
sub_suites << sub_suite unless(sub_suite.empty?)
|
||||
else
|
||||
next unless %r(/test_.*\.rb\Z) =~ e_name
|
||||
(next unless(@pattern =~ e_name)) if(@pattern)
|
||||
(next if(@exclude =~ e_name)) if(@exclude)
|
||||
collect_file(e_name, sub_suites, already_gathered)
|
||||
|
|
Загрузка…
Ссылка в новой задаче