aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_jit_debug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_jit_debug.rb')
-rw-r--r--test/ruby/test_jit_debug.rb3
1 files changed, 3 insertions, 0 deletions
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