File: python3

package info (click to toggle)
pyfftw 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 948 kB
  • sloc: python: 8,215; ansic: 681; makefile: 129; sh: 22
file content (16 lines) | stat: -rwxr-xr-x 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -eu

pys="$(py3versions -r 2>/dev/null)"

cp -a ./test "${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" test/test*.py --exclude=test_pyfftw_base.py )
	pytest-3 -s -k "test_time or MultiThreaded" $timetests
done