From 57a0fd859ace5f2f3b0556c6a718cda19bb437bb Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 19 Jul 2022 17:34:51 +0200 Subject: [PATCH] Disable tests on riscv64 in the %check section Signed-off-by: David Abdurachmanov --- qemu.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/qemu.spec b/qemu.spec index 22e2ac5..57761b7 100644 --- a/qemu.spec +++ b/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 - 7.0.0-6.3.riscv64 +- Disable tests on riscv64 in the correct place (%%check section) + * Tue Jul 19 2022 David Abdurachmanov - 7.0.0-6.2.riscv64 - Do not package qemu-riscv32-static.conf (doesn't exist on riscv64)