[igt-dev] [PATCH] ci: Use FDO_CI_CONCURRENT to limit build/test concurrency

Daniel Stone daniels at collabora.com
Thu Jul 29 14:55:10 UTC 2021


On Thu, 2021-07-29 at 17:51 +0300, Petri Latvala wrote:
> On Thu, Jul 29, 2021 at 05:46:33PM +0300, Petri Latvala wrote:
> > > @@ -168,7 +168,7 @@ test:ninja-test:
> > >    dependencies:
> > >      - build:tests-fedora
> > >    stage: test
> > > -  script: ninja -C build test
> > > +  script: meson -C build test --num-processes
> > > ${FDO_CI_CONCURRENT:-4}
> > 
> > usage: meson [-h]
> > {setup,configure,dist,install,introspect,init,test,wrap,subprojects
> > ,help,rewrite,compile} ...
> > meson: error: unrecognized arguments: -C --num-processes 4

Yeah, just spotted that locally. v2 sent.

> > Doesn't ninja -C build -j $... test   work for this?
> 
> Based on my tests, no.

Indeed not. `meson test` is recommend to use over the ninja target
anyway.

Anyway, I've sent v2 off now which actually works.

Cheers,
Daniel



More information about the igt-dev mailing list