# Problem with running tests in VSCode under Ubuntu (any packages)

**URL:** <https://discourse.julialang.org/t/problem-with-running-tests-in-vscode-under-ubuntu-any-packages/128642>\
**Category:** VS Code\
**Tags:** testing, threads\
**Created:** [May 2, 2025, 9:39pm UTC](https://discourse.julialang.org/t/problem-with-running-tests-in-vscode-under-ubuntu-any-packages/128642 "2025-05-02T21:39:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eben60](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eben60/32/13475_2.png) [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Post date:** [May 2, 2025, 9:39pm UTC](https://discourse.julialang.org/t/problem-with-running-tests-in-vscode-under-ubuntu-any-packages/128642/1 "2025-05-02T21:39:39Z")

</div>

For example:

```julia
(@v1.11) pkg> test Revise
     Testing Revise
...
     Testing Running tests...
ERROR: julia: -t,--threads=<n>[,auto|<m>]; n must be an integer >= 1
ERROR: Package Revise errored during testing

```

The same error with any package. Running test from Julia in a terminal works without problems. Any ideas?

---

<div class="post-metadata">

**Author:** ![danielwe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/danielwe/32/35657_2.png) [@danielwe](https://discourse.julialang.org/u/danielwe)\
**Post date:** [May 2, 2025, 10:25pm UTC](https://discourse.julialang.org/t/problem-with-running-tests-in-vscode-under-ubuntu-any-packages/128642/2 "2025-05-02T22:25:48Z")

</div>

Probably this? [Unable to run tests with julia 1.11.5 if `julia.NumThreads` is not set · Issue #3798 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/issues/3798)
