summaryrefslogtreecommitdiff
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.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index 91e3cf84a5..fa1402e4b4 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -30,12 +30,6 @@ module JITSupport
args << '--jit-save-temps' if save_temps
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']
- so = "mjit_build_dir.#{RbConfig::CONFIG['SOEXT']}"
- if File.exist?(so)
- base_env[preloadenv] = so
- end
- end
args.unshift(env ? base_env.merge!(env) : base_env)
EnvUtil.invoke_ruby(args,
'', true, true, timeout: timeout,