Skip to content

Pkg.test(; julia_args = ["--threads=auto"]) seems to not have effect on julia 1.12.0-beta2 #4220

@stemann

Description

@stemann

It seems #4141 somehow did not have effect in 1.12.0-beta1 despite inclusion in #4203.

$ nproc 
16

$ cd Example.jl

$ echo '@show Threads.nthreads()' >> test/runtests.jl

$ rm -f Manifest.toml

$ julia +1.11 --project --eval 'using Pkg; Pkg.test(; julia_args = ["--threads=auto"])'
...
     Testing Running tests...
Threads.nthreads() = 16

$ rm -f Manifest.toml

$ julia +1.12 --project --eval 'using Pkg; Pkg.test(; julia_args = ["--threads=auto"])'
...
     Testing Running tests...
Threads.nthreads() = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions