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()
1734
1734
end
1735
1735
1736
1736
# Ensure that the code has indeed been successfully executed everywhere
1737
- @test all (in (results), procs ())
1737
+ return all (in (results), procs ())
1738
1738
end
1739
1739
1740
1740
# Test that the client port is reused. SO_REUSEPORT may not be supported on
1741
1741
# all UNIX platforms, Linux kernels prior to 3.9 and older versions of OSX
1742
1742
@assert nprocs () == 1
1743
1743
addprocs_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
1749
1747
1750
1748
# issue #27933
1751
1749
a27933 = :_not_defined_27933
You can’t perform that action at this time.
0 commit comments