- skip tests that don't work under qemu-linux-user emulation
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=733
This commit is contained in:
parent
d58941a9c7
commit
d889bd32da
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 30 12:48:20 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- skip tests that don't work under qemu-linux-user emulation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 28 16:35:10 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
|
Wed Sep 28 16:35:10 UTC 2022 - Dario Faggioli <dfaggioli@suse.com>
|
||||||
|
|
||||||
|
@ -2348,6 +2348,11 @@ cd %blddir
|
|||||||
# If that patch is removed, the following line needs to go as well.
|
# If that patch is removed, the following line needs to go as well.
|
||||||
cp %{SOURCE202} %{srcdir}/tests/data/acpi/microvm/
|
cp %{SOURCE202} %{srcdir}/tests/data/acpi/microvm/
|
||||||
|
|
||||||
|
%if 0%{?qemu_user_space_build}
|
||||||
|
# Seccomp is not supported by linux-user emulation
|
||||||
|
echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-seccomp.c
|
||||||
|
%endif
|
||||||
|
|
||||||
# Compile the QOM test binary first, so that ...
|
# Compile the QOM test binary first, so that ...
|
||||||
%make_build tests/qtest/qom-test
|
%make_build tests/qtest/qom-test
|
||||||
# ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379)
|
# ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379)
|
||||||
@ -2365,7 +2370,9 @@ cp %{SOURCE202} %{srcdir}/tests/data/acpi/microvm/
|
|||||||
make -O V=1 VERBOSE=1 -j1 check-block
|
make -O V=1 VERBOSE=1 -j1 check-block
|
||||||
# Run qtests in parallel. If it becomes unreliable, we can try something
|
# Run qtests in parallel. If it becomes unreliable, we can try something
|
||||||
# like this: make -O V=1 VERBOSE=1 -j1 check-qtest
|
# like this: make -O V=1 VERBOSE=1 -j1 check-qtest
|
||||||
|
%if !0%{?qemu_user_space_build}
|
||||||
%make_build check-qtest
|
%make_build check-qtest
|
||||||
|
%endif
|
||||||
# Last step will be to run a full check-report, but we will
|
# Last step will be to run a full check-report, but we will
|
||||||
# enable this at a later point
|
# enable this at a later point
|
||||||
#make -O V=1 VERBOSE=1 -j1 check-report.junit.xml
|
#make -O V=1 VERBOSE=1 -j1 check-report.junit.xml
|
||||||
|
@ -2294,6 +2294,11 @@ cd %blddir
|
|||||||
# If that patch is removed, the following line needs to go as well.
|
# If that patch is removed, the following line needs to go as well.
|
||||||
cp %{SOURCE202} %{srcdir}/tests/data/acpi/microvm/
|
cp %{SOURCE202} %{srcdir}/tests/data/acpi/microvm/
|
||||||
|
|
||||||
|
%if 0%{?qemu_user_space_build}
|
||||||
|
# Seccomp is not supported by linux-user emulation
|
||||||
|
echo 'int main (void) { return 0; }' > %{srcdir}/tests/unit/test-seccomp.c
|
||||||
|
%endif
|
||||||
|
|
||||||
# Compile the QOM test binary first, so that ...
|
# Compile the QOM test binary first, so that ...
|
||||||
%make_build tests/qtest/qom-test
|
%make_build tests/qtest/qom-test
|
||||||
# ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379)
|
# ... make comes in fresh and has lots of address space (needed for 32bit, bsc#957379)
|
||||||
@ -2311,7 +2316,9 @@ cp %{SOURCE202} %{srcdir}/tests/data/acpi/microvm/
|
|||||||
make -O V=1 VERBOSE=1 -j1 check-block
|
make -O V=1 VERBOSE=1 -j1 check-block
|
||||||
# Run qtests in parallel. If it becomes unreliable, we can try something
|
# Run qtests in parallel. If it becomes unreliable, we can try something
|
||||||
# like this: make -O V=1 VERBOSE=1 -j1 check-qtest
|
# like this: make -O V=1 VERBOSE=1 -j1 check-qtest
|
||||||
|
%if !0%{?qemu_user_space_build}
|
||||||
%make_build check-qtest
|
%make_build check-qtest
|
||||||
|
%endif
|
||||||
# Last step will be to run a full check-report, but we will
|
# Last step will be to run a full check-report, but we will
|
||||||
# enable this at a later point
|
# enable this at a later point
|
||||||
#make -O V=1 VERBOSE=1 -j1 check-report.junit.xml
|
#make -O V=1 VERBOSE=1 -j1 check-report.junit.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user