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

ruby-changes:63746

From: Takashi <ko1@a...>
Date: Wed, 25 Nov 2020 13:21:12 +0900 (JST)
Subject: [ruby-changes:63746] eaa87be5f6 (master): Skip test_ractor.rb:137 for --jit-min-calls=5

https://git.ruby-lang.org/ruby.git/commit/?id=eaa87be5f6

From eaa87be5f620a709eb38695f995de405ac42490b Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 24 Nov 2020 20:18:04 -0800
Subject: Skip test_ractor.rb:137 for --jit-min-calls=5

It's failing like
http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3270373 but I
have no bandwidth to fix it for now.

We're still checking --jit-wait (without --jit-min-calls=5) on GitHub
Actions.

diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb
index 48857a9..d5d78d7 100644
--- a/bootstraptest/test_ractor.rb
+++ b/bootstraptest/test_ractor.rb
@@ -161,7 +161,7 @@ assert_equal 30.times.map { 'ok' }.to_s, %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_ractor.rb#L161
   30.times.map{|i|
     test i
   }
-}
+} unless ENV['RUN_OPTS'] =~ /--jit-min-calls=5/ # This always fails with --jit-wait --jit-min-calls=5
 
 # Outgoing port of a ractor will be closed when the Ractor is terminated.
 assert_equal 'ok', %q{
-- 
cgit v0.10.2


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

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