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:
parent
d905ff61e6
commit
f9a2440866
5 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
|
@ -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 =
|
||||||
|
|
|
@ -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'
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue