Enable tests again

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-15 13:26:48 +02:00
parent 0510331e78
commit f33c3fbeb3
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

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