diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-10 23:23:37 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-10 23:24:18 -0800 |
commit | 973cb64b1c74981aeed028601020bb4425cc7db3 (patch) | |
tree | 916e4c21b617f3a71f41d92d99d5ad9275fc11eb /bootstraptest | |
parent | f7b215af0ed5148d1946f1e9d817a0875db02ec6 (diff) | |
download | ruby-973cb64b1c74981aeed028601020bb4425cc7db3.tar.gz |
RJIT: Skip a flaky test_thread test for now
and unskip a ractor test that was actually running
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_ractor.rb | 3 | ||||
-rw-r--r-- | bootstraptest/test_thread.rb | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb index 1c522dfa1e..96c0f276a1 100644 --- a/bootstraptest/test_ractor.rb +++ b/bootstraptest/test_ractor.rb @@ -283,8 +283,7 @@ assert_equal 30.times.map { 'ok' }.to_s, %q{ 30.times.map{|i| test i } -} unless ENV['RUN_OPTS'] =~ /--rjit-call-threshold=5/ || # This always fails with --rjit-wait --rjit-call-threshold=5 - (ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'arm64') # https://bugs.ruby-lang.org/issues/17878 +} unless (ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'arm64') # https://bugs.ruby-lang.org/issues/17878 # Exception for empty select assert_match /specify at least one ractor/, %q{ diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb index 5361828403..d7d19e97c9 100644 --- a/bootstraptest/test_thread.rb +++ b/bootstraptest/test_thread.rb @@ -483,7 +483,7 @@ assert_equal 'foo', %q{ [th1, th2].each {|t| t.join } GC.start f.call.source -} +} unless ENV['RUN_OPTS'] =~ /rjit/ # flaky assert_normal_exit %q{ class C def inspect |