summaryrefslogtreecommitdiffstats
path: root/debian/tests/unittests
blob: bd75661cf2d50c6d43201a706d31ef7dfa45b2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -efu

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


cp -a tests "$AUTOPKGTEST_TMP"
cp -a benchmarking "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"


for py in $pys; do
	echo "=== $py ==="
    # ignore linkify tests until linkify is package in Debian #997970
	$py -m pytest --ignore tests/test_linkify.py \
                               --ignore tests/test_port/test_fixtures.py \
						       -k 'not test_linkify' 2>&1
    $py -m pytest benchmarking/bench_core.py benchmarking/bench_packages.py 2>&1
done