[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
This commit is contained in:
parent
7daa1083c9
commit
ebfa178b72
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user