File: run-tests

package info (click to toggle)
petsc4py 3.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,592 kB
  • sloc: python: 13,451; ansic: 1,768; makefile: 345; f90: 313; sh: 14
file content (12 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
set -e

for pyver in `py3versions -vs`; do
  echo "Run tests (single processor) with python$pyver"
  python$pyver test/runtests.py --verbose

  # note pytest does not support MPI tests

  # assume standard test covers petsc4py-real, now test complex (non-verbose to simplify output)
  echo "Run tests (single processor) with python$pyver for complex build"
  PETSC_DIR=`pkg-config --variable=prefix PETSc | sed "s/real/complex/"` python$pyver test/runtests.py
done