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

* lib/test/unit.rb (Test::Unit:Runner::Worker#_run_suites):

call GC.start before running the test suites.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-04-11 18:55:32 +00:00
parent db5265a82c
commit ce0223b15b
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Apr 12 03:50:44 2012 NARUSE, Yui <naruse@ruby-lang.org>
* lib/test/unit.rb (Test::Unit:Runner::Worker#_run_suites):
call GC.start before running the test suites.
Wed Apr 11 22:31:19 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Apr 11 22:31:19 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (rb_check_id_cstr): new function to check if ID is * parse.y (rb_check_id_cstr): new function to check if ID is

View file

@ -624,6 +624,7 @@ module Test
def _run_suites suites, type def _run_suites suites, type
@interrupt = nil @interrupt = nil
result = [] result = []
GC.start
if @options[:parallel] if @options[:parallel]
_run_parallel suites, type, result _run_parallel suites, type, result
else else