qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 11/11] tests/qtest: Enable qtest build on Windows


From: Thomas Huth
Subject: Re: [PATCH v6 11/11] tests/qtest: Enable qtest build on Windows
Date: Wed, 23 Nov 2022 15:19:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 23/11/2022 15.13, Marc-André Lureau wrote:
Hi Bin

On Fri, Oct 28, 2022 at 9:06 AM Bin Meng <bin.meng@windriver.com> wrote:

Now that we have fixed various test case issues as seen when running
on Windows, let's enable the qtest build on Windows.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>

We haven't solved the CI timing out or eating all the CPU time, right?

Can we simply exclude it from CI for now, ie add to this patch

diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
index 093276ddbc..ba9045ec38 100644
--- a/.gitlab-ci.d/windows.yml
+++ b/.gitlab-ci.d/windows.yml
@@ -62,7 +62,7 @@ msys2-64bit:
    - .\msys64\usr\bin\bash -lc './configure --target-list=x86_64-softmmu
        --enable-capstone'
    - .\msys64\usr\bin\bash -lc 'make'
-  - .\msys64\usr\bin\bash -lc 'make check || { cat
build/meson-logs/testlog.txt; exit 1; } ;'
+  - .\msys64\usr\bin\bash -lc 'make check MTESTARGS="--no-suite
qtest" || { cat build/meson-logs/testlog.txt; exit 1; } ;'

  msys2-32bit:
    extends: .shared_msys2_builder
@@ -96,4 +96,4 @@ msys2-32bit:
    - cd output
    - ..\msys64\usr\bin\bash -lc "../configure --target-list=ppc64-softmmu"
    - ..\msys64\usr\bin\bash -lc 'make'
-  - ..\msys64\usr\bin\bash -lc 'make check || { cat
meson-logs/testlog.txt; exit 1; } ;'
+  - ..\msys64\usr\bin\bash -lc 'make check MTESTARGS="--no-suite
qtest" || { cat meson-logs/testlog.txt; exit 1; } ;'

I think it's only the 64-bit job that is really problematic, so we could still run the qtests in the 32-bit job?

Alternatively, what about switching the 64-bit to another target that does not have so many qtests enabled? Some mips-softmmu or riscv-softmmu maybe? ... we still check x86_64-softmmu in the .cirrus.yml builds, so this is hopefully not such a big loss...

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]