On Mon, Mar 27, 2017 at 8:07 PM, Michael Biebl <bi...@debian.org> wrote:

> Ok, os ninja does not automatically translate -j1 to MESON_TESTTHREADS=1

No.

> To understand this properly: Say I have 4 cores, does that mean that by
> default I have 4 ninja processes which run mesontest, which in turn runs
> 4 threads, so I have 4x4=16 tests that are run in parallel?

No. There is never more than on test runner going at once. If you have
built your project then running 'ninja test' is the same as 'ninja -j
4 test' and even 'ninja -j 1024 test'. Test is only ever run once and
when it is running, nothing else is running at the same time.

Reply via email to