diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-20 22:30:39 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-20 22:30:39 +0000 |
commit | 8f78430da684797700a9f8dc0c101d253e3211ee (patch) | |
tree | 4f465e05ae4e200b7eda118d3007170111888da7 /test/-ext-/gvl | |
parent | d6ec12417a1d554825a291dae10e8508a0cbbd06 (diff) | |
download | ruby-8f78430da684797700a9f8dc0c101d253e3211ee.tar.gz |
test/-ext-/gvl/test_last_thread.rb: skip under MJIT
Spurious wakeup is unavoidable with MJIT; and any real
code must be able to deal with spurious wakeup anyways.
[ruby-core:87882] https://bugs.ruby-lang.org/issues/14901
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/gvl')
-rw-r--r-- | test/-ext-/gvl/test_last_thread.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/-ext-/gvl/test_last_thread.rb b/test/-ext-/gvl/test_last_thread.rb index 3b297a5b31..7f75c0ef9c 100644 --- a/test/-ext-/gvl/test_last_thread.rb +++ b/test/-ext-/gvl/test_last_thread.rb @@ -3,6 +3,9 @@ class TestLastThread < Test::Unit::TestCase # [Bug #11237] def test_last_thread + if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? + skip 'spurious wakeup unavoidable with MJIT' + end assert_separately([], <<-"end;") #do require '-test-/gvl/call_without_gvl' |