From ebfa178b72e608d160aa21b4fc0864578de76f2b Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 30 Oct 2024 11:21:59 +0100 Subject: [PATCH] [ruby/json] Setup ruby_memcheck Hoping it might find the leak reported in https://github.com/ruby/json/issues/460 https://github.com/ruby/json/commit/08635312e5 --- test/json/test_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb index e8bba16f84..7bff9b3391 100644 --- a/test/json/test_helper.rb +++ b/test/json/test_helper.rb @@ -1,12 +1,15 @@ case ENV['JSON'] when 'pure' $LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__)) + $stderr.puts("Testing JSON::Pure") require 'json/pure' when 'ext' + $stderr.puts("Testing JSON::Ext") $LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__)) require 'json/ext' else $LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__)) + $stderr.puts("Testing JSON") require 'json' end