Skip to content

Commit

Permalink
Fixup some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eightbitraptor committed Jul 18, 2024
1 parent a5b04c9 commit 5399882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/-ext-/tracepoint/test_tracepoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'test/unit'
require '-test-/tracepoint'

require_relative "../lib/omit_if_alternate_gc"
require_relative "../../lib/omit_if_alternate_gc"

class TestTracepointObj < Test::Unit::TestCase
include OmitIfAlternateGC
Expand Down
2 changes: 1 addition & 1 deletion test/ruby/test_weakmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class TestWeakMap < Test::Unit::TestCase
include OmitIfAlternateGC

def setup
omit_if_alternate_gc
@wm = ObjectSpace::WeakMap.new
end

Expand Down Expand Up @@ -241,7 +242,6 @@ def test_compaction
end

def test_gc_compact_stress
omit_if_alternate_gc
omit "compaction doesn't work well on s390x" if RUBY_PLATFORM =~ /s390x/ # https://github.com/ruby/ruby/pull/5077
EnvUtil.under_gc_compact_stress { ObjectSpace::WeakMap.new }
end
Expand Down

0 comments on commit 5399882

Please sign in to comment.