File: run-tests-64

package info (click to toggle)
slepc4py 3.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,760 kB
  • sloc: python: 6,916; makefile: 129; ansic: 98; sh: 46
file content (14 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e

for PY3VER in `py3versions -sv`; do
  echo "== Run 64-bit tests (single processor) with default (real) build for python $PY3VER =="
  python$PY3VER test/runtests.py --verbose

  # note pytest does not support MPI tests

  # assume standard test covers slepc4py-real, now test complex (non-verbose to simplify output)
  echo "== Run 64-bit tests (single processor) with complex build for python $PY3VER =="
  SLEPC64_DIR_COMPLEX=`pkg-config --variable=prefix SLEPc64 | sed "s/real/complex/"`
  PETSC_DIR=`echo ${SLEPC64_DIR_COMPLEX} | sed "s/slepc/petsc/g"` SLEPC_DIR=${SLEPC64_DIR_COMPLEX} python$PY3VER test/runtests.py
done