summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-29 08:47:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-29 08:47:07 +0000
commit0342fcbd51f2f423541f862c8d8e35873d849963 (patch)
tree010fd450c9c0649fb98abf94757246c7b0400216 /test
parent2df80d30fe6ee217ae8a7b350601da620d775f35 (diff)
fake.rb: fix RUBY_DESCRIPTION for MJIT
* template/fake.rb.in: reflect MJIT to RUBY_DESCRIPTION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_rubyoptions.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 6e501a45b6..afaa8a2904 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -116,11 +116,7 @@ class TestRubyOptions < Test::Unit::TestCase
def test_verbose
assert_in_out_err(["-vve", ""]) do |r, e|
assert_match(VERSION_PATTERN, r[0])
- if RbConfig::CONFIG.fetch('cppflags', '').match?(/(\A|\s)-DMJIT_FORCE_ENABLE\b/)
- assert_equal(RUBY_DESCRIPTION, r[0])
- else
- assert_equal(NO_JIT_DESCRIPTION, r[0])
- end
+ assert_equal(RUBY_DESCRIPTION, r[0])
assert_equal([], e)
end