From c15856d76dd46030c805523b05808d32ead15162 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 15 Oct 2019 23:14:55 -0700 Subject: [PATCH] Do not test --jit-debug on -DVM_CHECK_MODE --- test/ruby/test_jit_debug.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/ruby/test_jit_debug.rb b/test/ruby/test_jit_debug.rb index 8f4386c398..8b1414011b 100644 --- a/test/ruby/test_jit_debug.rb +++ b/test/ruby/test_jit_debug.rb @@ -1,5 +1,8 @@ require_relative 'test_jit' +return unless defined?(TestJIT) +return if RbConfig::CONFIG['CPPFLAGS'].include?('-DVM_CHECK_MODE') + class TestJITDebug < TestJIT def setup # let `#eval_with_jit` use --jit-debug