From 31e962689ab2ecb4c870ab622a2dd1f2ca438092 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mar 26 2022 10:03:23 +0000 Subject: Use the invocation of tests recommended by upstream It doesn't seem to have any provision for skipping tests, but we'll see. Let's also turn on the tests on s390x again. --- diff --git a/python-tables.spec b/python-tables.spec index cba84d1..daebf6c 100644 --- a/python-tables.spec +++ b/python-tables.spec @@ -67,8 +67,6 @@ The %{name}-doc package contains the documentation for %{name}. cp -a %{SOURCE1} pytablesmanual.pdf -echo "import sys, tables; sys.exit(tables.test(verbose=1))" >bench/check_all.py - # Make sure we are not using anything from the bundled blosc by mistake find c-blosc -mindepth 1 -maxdepth 1 -name hdf5 -prune -o -exec rm -r {} + @@ -82,11 +80,7 @@ sed -i 's|bin/env |bin/|' utils/* %py3_install %check - -# OOM during tests on s390 -%ifnarch s390 -PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} bench/check_all.py -%endif +PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} -m tables.tests.test_all -v %files -n python%{python3_pkgversion}-tables %license LICENSE.txt LICENSES