Closed tharvik closed 9 months ago
In dune, there's no need to pass the -j
parameter, it's going to use many jobs by default.
In Make, -j
is set to 1 by default because most makefiles don't support parallel builds - which is not true with dune.
So you can simply run make test
and let dune set the correct number of jobs.
Sorry, I missed this issue before. As @zapashcanon said, the dune build is parallelised automatically. As for the test suite, you'll have to use partest to run that in parallel (and always did). So make partest
is what you want. I now tweaked the makefile to have that run unittests as well.
when trying to run tests for the interpreter with multiple jobs, it fails as two
dune build
are launch at the same time.small repro (with a cleaned tree)
gives (YMMV)
btw, I found out that there is also the
partest
target, which strangly doesn't fail. further investigations show thatquiettest
doesn't actually rununittest
, is it wanted?