ruby-changes:56801
From: Takashi <ko1@a...>
Date: Sun, 4 Aug 2019 11:07:21 +0900 (JST)
Subject: [ruby-changes:56801] Takashi Kokubun: adfc8d6dba (master): Defer skip to avoid errors on ensure
https://git.ruby-lang.org/ruby.git/commit/?id=adfc8d6dba From adfc8d6dbadbccef27d6ec78022650840c7604cc Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Sun, 4 Aug 2019 11:05:50 +0900 Subject: Defer skip to avoid errors on ensure diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb index 8792cf5..4922d4d 100644 --- a/test/ruby/test_require.rb +++ b/test/ruby/test_require.rb @@ -503,11 +503,11 @@ class TestRequire < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_require.rb#L503 end def test_race_exception - skip 'require has had a race condition since 5931857281ce45c1c277aa86d1588119ab00a955' if RubyVM::MJIT.enabled? bug5754 = '[ruby-core:41618]' path = nil stderr = $stderr verbose = $VERBOSE + skip 'require has had a race condition since 5931857281ce45c1c277aa86d1588119ab00a955' if RubyVM::MJIT.enabled? Tempfile.create(%w"bug5754 .rb") {|tmp| path = tmp.path tmp.print "#{<<~"begin;"}\n#{<<~"end;"}" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/