File: python3

package info (click to toggle)
pyfftw 0.11.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 924 kB
  • sloc: python: 7,884; ansic: 681; makefile: 130; sh: 32
file content (16 lines) | stat: -rwxr-xr-x 441 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 "$ADTTMP"
cd "$ADTTMP"

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