File: unittests3

package info (click to toggle)
unidecode 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,592 kB
  • sloc: python: 49,168; perl: 30; sh: 9; makefile: 5
file content (14 lines) | stat: -rwxr-xr-x 230 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -efu

export LC_ALL=C.UTF-8

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

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

for py in $pys; do
	echo "=== python$py ==="
	python$py -m unittest discover tests/ 2>&1
done