We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CHECK_LEAKS
1 parent 9f02680 commit 01459f1Copy full SHA for 01459f1
common.mk
@@ -43,9 +43,6 @@ RUBYLIB = $(PATH_SEPARATOR)
43
RUBYOPT = -
44
RUN_OPTS = --disable-gems
45
46
-# Enabld leakcheckers by ruby/mspec
47
-CHECK_LEAKS = true
48
-
49
# GITPULLOPTIONS = --no-tags
50
51
PRISM_SRCDIR = $(srcdir)/prism
spec/default.mspec
@@ -3,6 +3,10 @@ $VERBOSE = false
3
if (opt = ENV["RUBYOPT"]) and (opt = opt.dup).sub!(/(?:\A|\s)-w(?=\z|\s)/, '')
4
ENV["RUBYOPT"] = opt
5
end
6
+
7
+# Enabld leakcheckers by ruby/mspec
8
+ENV["CHECK_LEAKS"] ||= "true"
9
10
require "./rbconfig" unless defined?(RbConfig)
11
require_relative "../tool/test-coverage" if ENV.key?("COVERAGE")
12
load File.dirname(__FILE__) + '/ruby/default.mspec'
0 commit comments