[ruby-cvs:67543] yui-knk:r60362 (trunk): Add column numbers to branch coverage

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Sun Oct 22 22:18:40 JST 2017


yui-knk	2017-10-22 22:18:40 +0900 (Sun, 22 Oct 2017)

  New Revision: 60362

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

  Log:
    Add column numbers to branch coverage
    
    * compile.c (DECL_BRANCH_BASE, ADD_TRACE_BRANCH_COVERAGE): Add
      column to arguments.
    
    * compile.c (compile_if, compile_case, compile_when, compile_loop, iseq_compile_each0):
      Pass column numbers to macros.
    
    * ext/coverage/coverage.c (branch_coverage): Add column numbers to
      a return value.
    
    * test/coverage/test_coverage.rb: Follow-up these changes.

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


More information about the ruby-cvs mailing list