File: root-tests

package info (click to toggle)
pyreflink 0.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 252 kB
  • sloc: python: 263; makefile: 147; ansic: 64; sh: 16
file content (12 lines) | stat: -rwxr-xr-x 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -efu

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

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $pys; do
	echo "=== $py ==="
	$py -m pytest --doctest-modules tests
done