[ruby-cvs:61666] eregon:r54504 (trunk): * ext/coverage/coverage.c: Fully reset coverage to not persist global state.

eregon at ruby-lang.org eregon at ruby-lang.org
Wed Apr 6 23:29:17 JST 2016


eregon	2016-04-06 23:29:17 +0900 (Wed, 06 Apr 2016)

  New Revision: 54504

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54504

  Log:
    * ext/coverage/coverage.c: Fully reset coverage to not persist global state.
      It was returning old file coverages as empty arrays to the user.
      [ruby-core:74596] [Bug #12220]
    * ext/coverage/coverage.c (rb_coverages): remove unused static state.
    * thread.c: Moved and renamed coverage_clear_result_i to reset_coverage_i.
    * test/coverage/test_coverage.rb: improve precision of tests.

  Modified files:
    trunk/ChangeLog
    trunk/ext/coverage/coverage.c
    trunk/test/coverage/test_coverage.rb
    trunk/thread.c


More information about the ruby-cvs mailing list