Skip to content

Commit

Permalink
Skip bisect tests on platforms without Process.fork
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Mar 6, 2023
1 parent fb08983 commit d9d0697
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ruby/test/integration/minitest_bisect_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ module Integration
class MinitestBisectTest < Minitest::Test
include OutputTestHelpers

def setup
skip("biesct rely on forking") unless Process.respond_to?(:fork)
super
end

def test_bisect
out, err = capture_subprocess_io do
run_bisect('log/leaky_test_order.log', 'LeakyTest#test_sensible_to_leak')
Expand Down

0 comments on commit d9d0697

Please sign in to comment.