diff options
Diffstat (limited to 'bootstraptest/test_thread.rb')
-rw-r--r-- | bootstraptest/test_thread.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb index 18b4fcd2e9..a4d46e2f10 100644 --- a/bootstraptest/test_thread.rb +++ b/bootstraptest/test_thread.rb @@ -293,7 +293,6 @@ assert_normal_exit %q{ exec "/" } -rjit_enabled = RUBY_DESCRIPTION.include?('+RJIT') assert_normal_exit %q{ (0..10).map { Thread.new { @@ -304,7 +303,7 @@ assert_normal_exit %q{ }.each {|t| t.join } -} unless rjit_enabled # flaky +} unless rjit_enabled? # flaky assert_equal 'ok', %q{ def m @@ -498,7 +497,7 @@ assert_equal 'foo', %q{ [th1, th2].each {|t| t.join } GC.start f.call.source -} unless rjit_enabled # flaky +} unless rjit_enabled? # flaky assert_normal_exit %q{ class C def inspect |