Disable tests on riscv64 in the %check section
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
a72423248e
commit
57a0fd859a
10
qemu.spec
10
qemu.spec
@ -1,9 +1,7 @@
|
||||
# Provide a way to skip tests via rpmbuild `--without`
|
||||
# This makes it easier to skip tests in copr repos, where
|
||||
# the qemu test suite is historically flakey
|
||||
%ifnarch riscv64
|
||||
%bcond_without check
|
||||
%endif
|
||||
|
||||
%global libfdt_version 1.6.0
|
||||
%global libseccomp_version 2.4.0
|
||||
@ -326,7 +324,7 @@ Obsoletes: %{name}-system-unicore32-core <= %{epoch}:%{version}-%{release}
|
||||
Summary: QEMU is a FAST! processor emulator
|
||||
Name: qemu
|
||||
Version: 7.0.0
|
||||
Release: %{baserelease}%{?rcrel}.2.riscv64%{?dist}
|
||||
Release: %{baserelease}%{?rcrel}.3.riscv64%{?dist}
|
||||
Epoch: 2
|
||||
License: GPLv2 and BSD and MIT and CC-BY
|
||||
URL: http://www.qemu.org/
|
||||
@ -1971,7 +1969,8 @@ rm -rf %{static_buildroot}
|
||||
pushd %{qemu_kvm_build}
|
||||
echo "Testing %{name}-build"
|
||||
# 2022-06: ppc64le random qtest segfaults with no discernable pattern
|
||||
%ifnarch %{power64}
|
||||
# 2022-07: some arches (2) hang in endless loops in qtests on riscv64
|
||||
%ifnarch %{power64} riscv64
|
||||
%make_build check
|
||||
%endif
|
||||
|
||||
@ -2724,6 +2723,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 19 2022 David Abdurachmanov <davidlt@rivosinc.com> - 7.0.0-6.3.riscv64
|
||||
- Disable tests on riscv64 in the correct place (%%check section)
|
||||
|
||||
* Tue Jul 19 2022 David Abdurachmanov <davidlt@rivosinc.com> - 7.0.0-6.2.riscv64
|
||||
- Do not package qemu-riscv32-static.conf (doesn't exist on riscv64)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user