Skip to content

Commit d9d0697

Browse files
committed
Skip bisect tests on platforms without Process.fork
1 parent fb08983 commit d9d0697

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)