1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Restore support library for only test files.

This commit is contained in:
Hiroshi SHIBATA 2019-07-09 21:04:07 +09:00
parent d905ff61e6
commit f9a2440866
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
5 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
require 'test/unit' require 'test/unit'
require 'tmpdir' require 'tmpdir'
require_relative '../../tool/lib/jit_support' require_relative '../lib/jit_support'
return if RbConfig::CONFIG["MJIT_SUPPORT"] == 'no' return if RbConfig::CONFIG["MJIT_SUPPORT"] == 'no'

View file

@ -4,7 +4,7 @@ require 'test/unit'
require 'timeout' require 'timeout'
require 'tmpdir' require 'tmpdir'
require 'tempfile' require 'tempfile'
require_relative '../../tool/lib/jit_support' require_relative '../lib/jit_support'
class TestRubyOptions < Test::Unit::TestCase class TestRubyOptions < Test::Unit::TestCase
NO_JIT_DESCRIPTION = NO_JIT_DESCRIPTION =

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true # frozen_string_literal: true
require 'test/unit' require 'test/unit'
require_relative '../../tool/lib/jit_support' require_relative '../lib/jit_support'
return if RbConfig::CONFIG["MJIT_SUPPORT"] == 'no' return if RbConfig::CONFIG["MJIT_SUPPORT"] == 'no'

View file

@ -2,7 +2,7 @@
require 'test/unit' require 'test/unit'
require 'open3' require 'open3'
require_relative '../tool/lib/jit_support' require_relative 'lib/jit_support'
class TestOpen3 < Test::Unit::TestCase class TestOpen3 < Test::Unit::TestCase
RUBY = EnvUtil.rubybin RUBY = EnvUtil.rubybin