shyouhei 2017-01-23 11:47:16 +0900 (Mon, 23 Jan 2017)
New Revision: 57399
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57399
Log:
improve C0 coverage of insns.def from 65.9% to 96.1%
While I was developing my private topic branch I found that the VM
itself is not tested very much in `make test` tests. Of course
`make test-all` covers vast majority of the VM but running that task
is not an immediately possible thing when we are touching the VM. In
order to boost development in a rapid cycle I decided to add some
tests to the bootstraptest. Here it is.
* test_insns.rb: new test that covers insns.def.
* runner.rb (#assert_equal): pass extra options to the target
so that we can test frozen_string_literal: true situation.
Added files:
trunk/bootstraptest/test_insns.rb
Modified files:
trunk/bootstraptest/runner.rb