opened 06:45AM - 17 Apr 25 UTC
I am unable to run tests from the VS Code Julia REPL after updating Julia from 1….11.4 to 1.11.5 - testing fails with:
```
ERROR: julia: -t,--threads=<n>[,auto|<m>]; n must be an integer >= 1
```
Testing from a separate Julia REPL works just fine.
This is <strike>likely</strike> due to a combination of not setting `julia.NumThreads` and https://github.com/JuliaLang/Pkg.jl/pull/4141
Likely solution is to not set `JULIA_NUM_THREADS` if `julia.NumThreads` is undefined.
Testing from the VS Code Julia REPL:
```
julia> versioninfo()
Julia Version 1.11.5
Commit 760b2e5b739 (2025-04-14 06:53 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (x86_64-apple-darwin24.0.0)
CPU: 16 × Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
JULIA_PKG_USE_CLI_GIT = true
(Example) pkg> test
No Changes to `~/dev/julia/Example.jl/Project.toml`
No Changes to `~/dev/julia/Example.jl/Manifest.toml`
Testing Example
Status `/private/var/folders/s1/xwq_jtwc8xld63006s6ny0n80000gn/T/jl_ggVXG0/Project.toml`
[7876af07] Example v0.5.5 `~/dev/julia/Example.jl`
[8dfed614] Test v1.11.0
Status `/private/var/folders/s1/xwq_jtwc8xld63006s6ny0n80000gn/T/jl_ggVXG0/Manifest.toml`
[7876af07] Example v0.5.5 `~/dev/julia/Example.jl`
[2a0f44e3] Base64 v1.11.0
[b77e0a4c] InteractiveUtils v1.11.0
[56ddb016] Logging v1.11.0
[d6f4376e] Markdown v1.11.0
[9a3f8284] Random v1.11.0
[ea8e919c] SHA v0.7.0
[9e88b42a] Serialization v1.11.0
[8dfed614] Test v1.11.0
Testing Running tests...
ERROR: julia: -t,--threads=<n>[,auto|<m>]; n must be an integer >= 1
ERROR: Package Example errored during testing
```