summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 22:14:33 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 22:14:44 -0800
commitf68580890faef54a8000e3d9b79341dbd17c115e (patch)
tree5e5ede12b239c4cfea570913e08d0f1ba997bca9 /test/lib
parent50a709fb9e07f523c8a0649d3039161b77f300ad (diff)
downloadruby-f68580890faef54a8000e3d9b79341dbd17c115e.tar.gz
Stop building mjit_build_dir.so
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/jit_support.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index 812c13b925..9ff1914133 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -48,11 +48,6 @@ module JITSupport
args << '--mjit-save-temps' if save_temps
args << '--mjit-debug' if defined?(@mjit_debug) && @mjit_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?
- so = "mjit_build_dir.#{RbConfig::CONFIG['SOEXT']}"
- base_env[preloadenv] = File.realpath(so) rescue nil
- end
args.unshift(env ? base_env.merge!(env) : base_env)
EnvUtil.invoke_ruby(args,
'', true, true, timeout: timeout,