[arch-commits] Commit in python-h5py-openmpi/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Nov 1 08:11:58 UTC 2020


    Date: Sunday, November 1, 2020 @ 08:11:58
  Author: archange
Revision: 738183

Switch to new test way

Modified:
  python-h5py-openmpi/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-01 04:54:50 UTC (rev 738182)
+++ PKGBUILD	2020-11-01 08:11:58 UTC (rev 738183)
@@ -42,11 +42,8 @@
 }
 
 check() {
-  cd ${_pkg}-${pkgver}
-#  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-#  PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" mpirun -n {env:MPI_N_PROCS:2} python -m pytest --pyargs h5py -rxXs --with-mpi
-#  PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" mpirun python -m pytest --pyargs h5py -rxXs --with-mpi
-  HDF5_MPI="ON" python setup.py test
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  PYTHONPATH="$PWD/${_pkg}-${pkgver}/build/lib.linux-$CARCH-${python_version}" python -m pytest --pyargs h5py -rxXs --with-mpi
 
 }
 


More information about the arch-commits mailing list