From 28e51aacc735b173847740124637c746d11dbcdc Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 6 Nov 2023 12:45:05 +0200 Subject: [PATCH] Enable riscv64 Ignore failing tests and increase the test timeout. Signed-off-by: David Abdurachmanov Signed-off-by: Richard W.M. Jones --- scipy.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scipy.spec b/scipy.spec index 2e4a5ee..e03d310 100644 --- a/scipy.spec +++ b/scipy.spec @@ -262,6 +262,18 @@ not test_shifts and \ not test_svdp'" %endif +%ifarch riscv64 +export PYTEST_ADDOPTS="-k '$SKIP_ALL and \ +not TestSchur and \ +not test_gejsv_general and \ +not test_kendall_p_exact_large and \ +not test_gejsv_edge_arguments and \ +not test_gh12999 and \ +not test_propack and \ +not test_milp and \ +not test_gejsv_NAG'" +%endif + pushd %{buildroot}/%{python3_sitearch} %{pytest} scipy %{?!rhel:--numprocesses=auto} # Remove test remnants