diff options
author | Takashi Kokubun <[email protected]> | 2023-12-21 14:30:55 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-12-21 14:32:03 -0800 |
commit | 78b27ce62a7d6f28c73d6fb4f97b0948859be8e0 (patch) | |
tree | 137f2929b6250f68b9ea2de473755fb8f16603ee /bootstraptest/test_thread.rb | |
parent | c73959cff40ba0f1d71ea6e3fce19b5f287e8494 (diff) |
RJIT: Streamline RJIT enablement check
in bootstrap tests so that `make btest-bruby` skips the right tests.
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 |