summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-10-15 22:47:20 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2019-10-15 22:47:20 -0700
commit4ccb49bad31b3c4a9cc7c6138cae93bd60a7bec4 (patch)
tree5125a6bf8cd10a85d5badc996f93af0354cf2a74 /test/lib
parent759576a03f0a39f3190e79526d138adc3a3f0a62 (diff)
downloadruby-4ccb49bad31b3c4a9cc7c6138cae93bd60a7bec4.tar.gz
Enforce --jit-debug test by another way
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/jit_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index fc5c12e871..bab1d4e5c4 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -30,7 +30,7 @@ module JITSupport
]
args << '--jit-wait' if wait
args << '--jit-save-temps' if save_temps
- args << '--jit-debug' if ENV['TEST_MJIT_SYMBOLS'] == '1'
+ args << '--jit-debug' if defined?(@jit_debug) && @jit_debug
args << '-e' << script
base_env = { 'MJIT_SEARCH_BUILD_DIR' => 'true' } # workaround to skip requiring `make install` for `make test-all`
if preloadenv = RbConfig::CONFIG['PRELOADENV'] and !preloadenv.empty?