Skip to content

Commit 365e497

Browse files
authored
Test suite: append to JULIA_DEBUG
1 parent 3300a81 commit 365e497

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/runtests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ import Test
88
# Bring some names into scope, just for convenience:
99
using Test: @testset, @test
1010

11+
const original_JULIA_DEBUG = strip(get(ENV, "JULIA_DEBUG", ""))
12+
if isempty(original_JULIA_DEBUG)
13+
ENV["JULIA_DEBUG"] = "SlurmClusterManager"
14+
else
15+
ENV["JULIA_DEBUG"] = original_JULIA_DEBUG * ",SlurmClusterManager"
16+
end
17+
1118
# test that slurm is available
1219
@test !(Sys.which("sinfo") === nothing)
1320

0 commit comments

Comments
 (0)