Disable tests on riscv64

Hardware (SiFive HiFive Unmatched) is not fast enough.

[..]
Tests summary:
--------------
Passed:             82622
Failed:             1
Failed with core:   0
ASan failures:      0
Unknown status:     2
TinderboxPrint:Unknown: 2
error: Bad exit status from /var/tmp/rpm-tmp.C2RdRB (%check)
[..]

Most likely:
[..]
------------- time ----------------------
real 1.40 user 1.07 sys 0.31
1 seconds
sdr.sh: #9: pwdecrypt no time regression  - FAILED
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-01 10:35:36 +02:00
parent 7983668370
commit 17b0dd6ffe
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 8 additions and 1 deletions

View File

@ -17,7 +17,11 @@
%global dracut_modules_dir %{dracutlibdir}/modules.d/05nss-softokn/
%global dracut_conf_dir %{dracutlibdir}/dracut.conf.d
%ifnarch riscv64
%bcond_without tests
%else
%bcond_with tests
%endif
%bcond_with dbm
# Produce .chk files for the final stripped binaries
@ -60,7 +64,7 @@ rpm.define(string.format("nss_release_tag NSS_%s_RTM",
Summary: Network Security Services
Name: nss
Version: %{nss_version}
Release: %{nss_release}%{?dist}
Release: %{nss_release}.0.riscv64%{?dist}
License: MPLv2.0
URL: http://www.mozilla.org/projects/security/pki/nss/
Requires: nspr >= %{nspr_version}
@ -1094,6 +1098,9 @@ update-crypto-policies &> /dev/null || :
%changelog
* Wed Mar 1 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.87.0-2.0.riscv64
- Disable tests on riscv64
* Tue Jan 24 2023 Bob Relyea - 3.87.0-2
- Fix rebuild errors