diff options
author | Takashi Kokubun <[email protected]> | 2023-07-11 14:39:32 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-07-11 14:39:32 -0700 |
commit | 503f987ead41f73205f2dbbfc93cd8ecd635c3a5 (patch) | |
tree | ec32255b9f4a9add3e43fbf80e29d93e52fbbece /bootstraptest/test_thread.rb | |
parent | d45118aaafe4e1e8409c13dea462fbbaf8b4cb8c (diff) |
Skip a flaky test for RJIT
Diffstat (limited to 'bootstraptest/test_thread.rb')
-rw-r--r-- | bootstraptest/test_thread.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb index d7d19e97c9..0c163d0db0 100644 --- a/bootstraptest/test_thread.rb +++ b/bootstraptest/test_thread.rb @@ -279,6 +279,7 @@ assert_normal_exit %q{ exec "/" } +rjit_enabled = RUBY_DESCRIPTION.include?('+RJIT') assert_normal_exit %q{ (0..10).map { Thread.new { @@ -289,7 +290,7 @@ assert_normal_exit %q{ }.each {|t| t.join } -} +} unless rjit_enabled # flaky assert_equal 'ok', %q{ def m @@ -483,7 +484,7 @@ assert_equal 'foo', %q{ [th1, th2].each {|t| t.join } GC.start f.call.source -} unless ENV['RUN_OPTS'] =~ /rjit/ # flaky +} unless rjit_enabled # flaky assert_normal_exit %q{ class C def inspect |