ruby-changes:51784
From: k0kubun <ko1@a...>
Date: Wed, 18 Jul 2018 22:11:11 +0900 (JST)
Subject: [ruby-changes:51784] k0kubun:r63996 (trunk): test_rubyoptions.rb: skip testing JIT on mswin
k0kubun 2018-07-18 22:11:03 +0900 (Wed, 18 Jul 2018) New Revision: 63996 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63996 Log: test_rubyoptions.rb: skip testing JIT on mswin Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 63995) +++ test/ruby/test_rubyoptions.rb (revision 63996) @@ -134,9 +134,11 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L134 end def test_enable - assert_in_out_err(%w(--enable all -e) + [""], "", [], []) - assert_in_out_err(%w(--enable-all -e) + [""], "", [], []) - assert_in_out_err(%w(--enable=all -e) + [""], "", [], []) + if JITSupport.supported? + assert_in_out_err(%w(--enable all -e) + [""], "", [], []) + assert_in_out_err(%w(--enable-all -e) + [""], "", [], []) + assert_in_out_err(%w(--enable=all -e) + [""], "", [], []) + end assert_in_out_err(%w(--enable foobarbazqux -e) + [""], "", [], /unknown argument for --enable: `foobarbazqux'/) assert_in_out_err(%w(--enable), "", [], /missing argument for --enable/) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/