On Mon, Nov 17, 2025, 3:47 PM Paolo Bonzini <[email protected]> wrote:

>
>
> Il lun 17 nov 2025, 20:07 Daniel P. Berrangé <[email protected]> ha
> scritto:
>
>> On Mon, Nov 17, 2025 at 01:51:25PM -0500, John Snow wrote:
>> > In order to convert the existing Makefile target from a manual
>> > invocation of mkvenv to one that uses the meson dependency system, we
>> > need to not suppress ninja here.
>> >
>> > I'm not sure if this creates problems I am not aware of; but invoking
>> > ninja here is no longer spurious but will become necessary.
>>
>> Yes, this will likely create problems. From the commit message that
>> introduced NINJA=":"...
>>
>>  Avoid it with the same
>>     trick that we are using in buildtest-template.yml already by disabling
>>     the up-to-date check via NINJA=":".
>>
>
> Move the check-venv call to buildtest-template.yml, right after configure?
> It's cheap enough.
>
> Paolo
>

What's the root issue here? That there's enough of a time delay between the
actual configure and the test running that it re-runs configure?

(And presumably this is bad mostly for wasted CI time...?)



>
>>
>> >
>> > Signed-off-by: John Snow <[email protected]>
>> > ---
>> >  .gitlab-ci.d/buildtest.yml | 4 ++--
>> >  1 file changed, 2 insertions(+), 2 deletions(-)
>> >
>> > diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
>> > index 18d72d3058b..2cb2cf25b4a 100644
>> > --- a/.gitlab-ci.d/buildtest.yml
>> > +++ b/.gitlab-ci.d/buildtest.yml
>> > @@ -101,7 +101,7 @@ crash-test-debian:
>> >      IMAGE: debian
>> >    script:
>> >      - cd build
>> > -    - make NINJA=":" check-venv
>> > +    - make check-venv
>> >      - pyvenv/bin/python3 scripts/device-crash-test -q --tcg-only
>> ./qemu-system-i386
>> >
>> >  build-system-fedora:
>> > @@ -158,7 +158,7 @@ crash-test-fedora:
>> >      IMAGE: fedora
>> >    script:
>> >      - cd build
>> > -    - make NINJA=":" check-venv
>> > +    - make check-venv
>> >      - pyvenv/bin/python3 scripts/device-crash-test -q ./qemu-system-ppc
>> >      - pyvenv/bin/python3 scripts/device-crash-test -q
>> ./qemu-system-riscv32
>> >
>> > --
>> > 2.51.1
>> >
>>
>> With regards,
>> Daniel
>> --
>> |: https://berrange.com      -o-
>> https://www.flickr.com/photos/dberrange :|
>> |: https://libvirt.org         -o-
>> https://fstop138.berrange.com :|
>> |: https://entangle-photo.org    -o-
>> https://www.instagram.com/dberrange :|
>>
>>

Reply via email to