File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1734,18 +1734,16 @@ function reuseport_tests()
17341734 end
17351735
17361736 # Ensure that the code has indeed been successfully executed everywhere
1737- @test all (in (results), procs ())
1737+ return all (in (results), procs ())
17381738end
17391739
17401740# Test that the client port is reused. SO_REUSEPORT may not be supported on
17411741# all UNIX platforms, Linux kernels prior to 3.9 and older versions of OSX
17421742@assert nprocs () == 1
17431743addprocs_with_testenv (4 ; lazy= false )
1744- if ccall (:jl_has_so_reuseport , Int32, ()) == 1
1745- reuseport_tests ()
1746- else
1747- @info " SO_REUSEPORT is unsupported, skipping reuseport tests"
1748- end
1744+
1745+ skip_reuseexport = ccall (:jl_has_so_reuseport , Int32, ()) != 1
1746+ @test reuseport_tests () skip = skip_reuseexport
17491747
17501748# issue #27933
17511749a27933 = :_not_defined_27933
You can’t perform that action at this time.
0 commit comments