Skip to content

Commit e97ffa1

Browse files
authored
Merge pull request #197 from Shopify/forkless-platforms
Skip bisect tests on platforms without `Process.fork`
2 parents fb08983 + d9d0697 commit e97ffa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ruby/test/integration/minitest_bisect_test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ module Integration
55
class MinitestBisectTest < Minitest::Test
66
include OutputTestHelpers
77

8+
def setup
9+
skip("biesct rely on forking") unless Process.respond_to?(:fork)
10+
super
11+
end
12+
813
def test_bisect
914
out, err = capture_subprocess_io do
1015
run_bisect('log/leaky_test_order.log', 'LeakyTest#test_sensible_to_leak')

0 commit comments

Comments
 (0)