aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/jit_support.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/jit_support.rb')
-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?