[ruby-cvs:66902] mame:r59724 (trunk): test/coverage/test_coverage.rb: run the tests in separated processes

mame at ruby-lang.org mame at ruby-lang.org
Sat Sep 2 22:55:12 JST 2017


mame	2017-09-02 22:55:12 +0900 (Sat, 02 Sep 2017)

  New Revision: 59724

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

  Log:
    test/coverage/test_coverage.rb: run the tests in separated processes
    
    The tests had been disabled under coverage measurement (during
    `ENV['COVERAGE']`), since they call `Coverage.result` which stops
    coverage measurement.
    So, we couldn't measure both C-level and Ruby-level coverage of Ruby
    simultaneously.
    In short, `./configure --enable-gcov && make exam COVERAGE=true`
    misses some coverages.
    
    Now, the test runs in another process.  They does not stop coverage
    measurement, so we can now enable the tests under coverage measurement.

  Modified files:
    trunk/test/coverage/test_coverage.rb


More information about the ruby-cvs mailing list