Skip to content

Commit

Permalink
Skip test on Solaris SPARC
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
peterzhu2118 committed Jun 23, 2023
1 parent 73529a1 commit 01507d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/ruby/test_gc_compact.rb
Expand Up @@ -421,6 +421,10 @@ def test_moving_hashes_down_size_pools
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;
Expand Down

0 comments on commit 01507d2

Please sign in to comment.