Disable tests on riscv64 for now

We are timing out on Qt6Autogen.MocIncludeSymlink.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-15 13:25:31 +02:00
parent be977f03c0
commit 0510331e78
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 9 additions and 2 deletions

View File

@ -47,7 +47,11 @@
%bcond_without bundled_cppdap
# Run tests
%ifnarch riscv64
%bcond_without test
%else
%bcond_with test
%endif
# Enable X11 tests
%bcond_without X11_test
@ -91,7 +95,7 @@
Name: %{orig_name}%{?name_suffix}
Version: %{pkg_version}
Release: %{baserelease}%{?dist}
Release: %{baserelease}%.0.riscv64{?dist}
Summary: Cross-platform make system
# most sources are BSD
@ -471,7 +475,7 @@ NO_TEST="$NO_TEST|curl"
%endif
%ifarch riscv64
# These three tests timeout on riscv64, skip them.
NO_TEST="$NO_TEST|Qt5Autogen.ManySources|Qt5Autogen.MocInclude|Qt5Autogen.MocIncludeSymlink"
NO_TEST="$NO_TEST|Qt5Autogen.ManySources|Qt5Autogen.MocInclude|Qt5Autogen.MocIncludeSymlink|Qt6Autogen.MocIncludeSymlin"
%endif
bin/ctest%{?name_suffix} %{?_smp_mflags} -V -E "$NO_TEST" --output-on-failure
## do this only periodically, not for every build -- besser82 20221102
@ -549,6 +553,9 @@ popd
%changelog
* Wed Nov 15 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.27.7-1.0.riscv64
- Disable tests on riscv64 for now
* Sat Oct 07 2023 Björn Esser <besser82@fedoraproject.org> - 3.27.7-1
- cmake-3.27.7
Fixes rhbz#2242491