#!/bin/sh set -eu pys="$(py3versions --supported 2>/dev/null)" cp -a ./tests "${AUTOPKGTEST_TMP}" cd "${AUTOPKGTEST_TMP}" for py in $pys; do echo "=== $py ===" $py -m pytest 2>&1 # show timer tests, comparing pyfftw against numpy.fft # (standard pytest captures output, use -s to display time tests) timetests=$( grep -l -E "timer_routine|Complex64FFTWTest" tests/test*.py --exclude=test_pyfftw_base.py ) $py -m pytest -s -k "test_time or MultiThreaded" $timetests done