aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_gc_compact.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-06-23 10:35:36 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-06-23 10:37:04 -0400
commit01507d2f80a99985c5f25027d87e58b8a97b3da2 (patch)
tree63d6231e3ea90e052eee5e6311aac928aeafee58 /test/ruby/test_gc_compact.rb
parent73529a12bbf5bb88b2596ca1169bd29dc75aa2e6 (diff)
downloadruby-01507d2f80a99985c5f25027d87e58b8a97b3da2.tar.gz
Skip test on Solaris SPARC
This test fails on Solaris SPARC with the following error and I can't figure out why: TestGCCompact#test_moving_hashes_down_size_pools Expected 499 to be >= 500.
Diffstat (limited to 'test/ruby/test_gc_compact.rb')
-rw-r--r--test/ruby/test_gc_compact.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb
index 1332b6d995..44da6aabee 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -421,6 +421,10 @@ class TestGCCompact < Test::Unit::TestCase
omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1
# AR and ST hashes are in the same size pool on 32 bit
omit unless RbConfig::SIZEOF["uint64_t"] <= RbConfig::SIZEOF["void*"]
+ # This test fails on Solaris SPARC with the following error and I can't figure out why:
+ # TestGCCompact#test_moving_hashes_down_size_pools
+ # Expected 499 to be >= 500.
+ omit if /sparc-solaris/ =~ RUBY_PLATFORM
assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV)
begin;