Skip to content

Commit

Permalink
Merge pull request #197 from Shopify/forkless-platforms
Browse files Browse the repository at this point in the history
Skip bisect tests on platforms without `Process.fork`
  • Loading branch information
casperisfine authored Mar 10, 2023
2 parents fb08983 + d9d0697 commit e97ffa1
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 e97ffa1

Please sign in to comment.