mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Set CHECK_LEAKS
in spec/default.mspec
Because of `.NOEXPORT:` in template/Makefile.in, variables in common.mk will not be exported.
This commit is contained in:
parent
9f02680015
commit
01459f1644
2 changed files with 4 additions and 3 deletions
|
@ -43,9 +43,6 @@ RUBYLIB = $(PATH_SEPARATOR)
|
|||
RUBYOPT = -
|
||||
RUN_OPTS = --disable-gems
|
||||
|
||||
# Enabld leakcheckers by ruby/mspec
|
||||
CHECK_LEAKS = true
|
||||
|
||||
# GITPULLOPTIONS = --no-tags
|
||||
|
||||
PRISM_SRCDIR = $(srcdir)/prism
|
||||
|
|
|
@ -3,6 +3,10 @@ $VERBOSE = false
|
|||
if (opt = ENV["RUBYOPT"]) and (opt = opt.dup).sub!(/(?:\A|\s)-w(?=\z|\s)/, '')
|
||||
ENV["RUBYOPT"] = opt
|
||||
end
|
||||
|
||||
# Enabld leakcheckers by ruby/mspec
|
||||
ENV["CHECK_LEAKS"] ||= "true"
|
||||
|
||||
require "./rbconfig" unless defined?(RbConfig)
|
||||
require_relative "../tool/test-coverage" if ENV.key?("COVERAGE")
|
||||
load File.dirname(__FILE__) + '/ruby/default.mspec'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue