[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']
|
case ENV['JSON']
|
||||||
when 'pure'
|
when 'pure'
|
||||||
$LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
|
$LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
|
||||||
|
$stderr.puts("Testing JSON::Pure")
|
||||||
require 'json/pure'
|
require 'json/pure'
|
||||||
when 'ext'
|
when 'ext'
|
||||||
|
$stderr.puts("Testing JSON::Ext")
|
||||||
$LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
|
$LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
|
||||||
require 'json/ext'
|
require 'json/ext'
|
||||||
else
|
else
|
||||||
$LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
|
$LOAD_PATH.unshift(File.expand_path('../../../ext', __FILE__), File.expand_path('../../../lib', __FILE__))
|
||||||
|
$stderr.puts("Testing JSON")
|
||||||
require 'json'
|
require 'json'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user