[ruby-cvs:67196] yui-knk:r60015 (trunk): test/ruby/test_iseq.rb: Skip test_safe_call_chain if Coverage is running.

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Mon Sep 25 09:09:45 JST 2017


yui-knk	2017-09-25 09:09:44 +0900 (Mon, 25 Sep 2017)

  New Revision: 60015

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

  Log:
    test/ruby/test_iseq.rb: Skip test_safe_call_chain if Coverage is running.
    
    Follow up to r59990.
    When Coverage is running, trace2 instructions are inserted
    to take branch coverages for safe method invocations.
    This insertion makes safe call chains unable to be optimized
    and breaks this test case.
    So we test it only when Coverage is not running.

  Modified files:
    trunk/test/ruby/test_iseq.rb


More information about the ruby-cvs mailing list