summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-10-30 11:21:59 +0100
committerHiroshi SHIBATA <[email protected]>2024-11-01 13:04:24 +0900
commitebfa178b72e608d160aa21b4fc0864578de76f2b (patch)
treea86369f5d6119433666c41b91f2f38810330a752 /test
parent7daa1083c93d237b4e03d4b07d3f0c124486bec0 (diff)
[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
Diffstat (limited to 'test')
-rw-r--r--test/json/test_helper.rb3
1 files changed, 3 insertions, 0 deletions
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