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.
test/coverage/test_coverage.rb: run the tests in separated processes
The tests had been disabled under coverage measurement (during
ENV['COVERAGE']
), since they callCoverage.result
which stopscoverage 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e