File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1707,18 +1707,17 @@ end
1707
1707
end
1708
1708
1709
1709
# Ensure that the code has indeed been successfully executed everywhere
1710
- @test all (in (results), procs ())
1710
+ return all (in (results), procs ())
1711
1711
end
1712
1712
1713
1713
# Test that the client port is reused. SO_REUSEPORT may not be supported on
1714
1714
# all UNIX platforms, Linux kernels prior to 3.9 and older versions of OSX
1715
1715
@assert nprocs () == 1
1716
1716
addprocs_with_testenv (4 ; lazy= false )
1717
- if ccall (:jl_has_so_reuseport , Int32, ()) == 1
1718
- reuseport_tests ()
1719
- else
1720
- @info " SO_REUSEPORT is unsupported, skipping reuseport tests"
1721
- end
1717
+
1718
+ skip_reuseexport = ccall (:jl_has_so_reuseport , Int32, ()) != 1
1719
+ skip_reuseexport && @debug " SO_REUSEPORT support missing, reuseport_tests skipped"
1720
+ @test reuseport_tests () skip = skip_reuseexport
1722
1721
end
1723
1722
1724
1723
@testset " Even more various individual issues" begin
You can’t perform that action at this time.
0 commit comments