Skip to content

Commit 560c7fd

Browse files
authored
Expect the Distributed test suite to fail on 1.6 and 1.7 when multithreading is enabled
1 parent e3dc2c2 commit 560c7fd

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.buildkite/pipelines/main/platforms/tester_linux.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,33 @@ steps:
5858
export OPENBLAS_NUM_THREADS=8
5959
6060
if [[ "$${BUILDKITE_STEP_KEY:?}" == "tester_linux64_rr" ]]; then
61+
6162
# For the `rr` job, we disable multi-threading.
6263
export JULIA_NUM_THREADS=1
6364
$${JULIA_UNDER_RR:?} -e 'Base.runtests(["all"]; ncores = parse(Int, ENV["JULIA_RRCAPTURE_NUM_CORES"]))'
65+
6466
elif [[ "$${BUILDKITE_STEP_KEY:?}" == "tester_linux64_st" ]]; then
67+
6568
# "_st" = single-threaded
6669
export JULIA_NUM_THREADS=1
6770
$${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
71+
6872
elif [[ "$${BUILDKITE_STEP_KEY:?}" == "tester_linux64_mt" ]]; then
73+
6974
# "_mt" = multi-threaded
7075
export JULIA_NUM_THREADS=16
71-
$${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
76+
if [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-6" ]]; then
77+
# On Julia 1.6, the Distributed test suite is expected to fail when multithreading is enabled.
78+
$${JULIA_BINARY:?} -e 'Base.runtests(["all", "--skip", "Distributed"]; ncores = Sys.CPU_THREADS)'
79+
elif [[ "$${BUILDKITE_PIPELINE_SLUG:?}" == "julia-release-1-dot-7" ]]; then
80+
# On Julia 1.7, the Distributed test suite is expected to fail when multithreading is enabled.
81+
$${JULIA_BINARY:?} -e 'Base.runtests(["all", "--skip", "Distributed"]; ncores = Sys.CPU_THREADS)'
82+
else
83+
$${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
84+
fi
85+
7286
else
87+
7388
$${JULIA_BINARY:?} -e 'Base.runtests(["all"]; ncores = Sys.CPU_THREADS)'
89+
7490
fi

0 commit comments

Comments
 (0)