[前][次][番号順一覧][スレッド一覧]

ruby-changes:53694

From: k0kubun <ko1@a...>
Date: Thu, 22 Nov 2018 12:39:12 +0900 (JST)
Subject: [ruby-changes:53694] k0kubun:r65910 (trunk): Revert "test_gem_remote_fetcher.rb: give up testing MJIT here"

k0kubun	2018-11-22 12:39:07 +0900 (Thu, 22 Nov 2018)

  New Revision: 65910

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65910

  Log:
    Revert "test_gem_remote_fetcher.rb: give up testing MJIT here"
    
    This reverts commit d12bcfc186f2aea5e83f2f59716958ea12b5c937.
    
    pause on --jit-wait looks not working... I'll fix that first.

  Modified files:
    trunk/test/rubygems/test_gem_remote_fetcher.rb
Index: test/rubygems/test_gem_remote_fetcher.rb
===================================================================
--- test/rubygems/test_gem_remote_fetcher.rb	(revision 65909)
+++ test/rubygems/test_gem_remote_fetcher.rb	(revision 65910)
@@ -124,13 +124,9 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg== https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_remote_fetcher.rb#L124
     Gem::RemoteFetcher.fetcher = nil
     @stub_ui = Gem::MockGemUi.new
     @fetcher = Gem::RemoteFetcher.fetcher
-
-    RubyVM::MJIT.pause(wait: false) if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # sometimes timeout is too short for --jit-wait, but remote_fetcher can't configure timeout
   end
 
   def teardown
-    RubyVM::MJIT.resume if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # enable testing again
-
     @fetcher.close_all
     self.class.stop_servers
     super

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]