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

ruby-changes:54123

From: k0kubun <ko1@a...>
Date: Wed, 12 Dec 2018 09:38:54 +0900 (JST)
Subject: [ruby-changes:54123] k0kubun:r66344 (trunk): bootstraptest/runner.rb: increase timeout for --jit-wait

k0kubun	2018-12-12 09:38:49 +0900 (Wed, 12 Dec 2018)

  New Revision: 66344

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

  Log:
    bootstraptest/runner.rb: increase timeout for --jit-wait
    
    because test_io.rb:33 randomly fails
    http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1519055
    
    checking MJIT.enabled? on driver might not make sense for target, but as
    long as the CI is -DMJIT_FORCE_ENABLE, I believe it works for now.

  Modified files:
    trunk/bootstraptest/runner.rb
Index: bootstraptest/runner.rb
===================================================================
--- bootstraptest/runner.rb	(revision 66343)
+++ bootstraptest/runner.rb	(revision 66344)
@@ -367,6 +367,7 @@ def assert_normal_exit(testsrc, *rest, t https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L367
 end
 
 def assert_finish(timeout_seconds, testsrc, message = '')
+  timeout_seconds *= 3 if RubyVM::MJIT.enabled? # for --jit-wait
   newtest
   show_progress(message) {
     faildesc = nil

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

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