File: unittests3

package info (click to toggle)
html5lib 1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,412 kB
  • sloc: python: 12,331; sh: 10; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -efu

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

cp -a pytest.ini .pytest.expect "$AUTOPKGTEST_TMP"
mkdir "$AUTOPKGTEST_TMP/html5lib"
cp -a html5lib/tests "$AUTOPKGTEST_TMP/html5lib"
cd "$AUTOPKGTEST_TMP"

for py in $pys; do
	echo "=== $py ==="
	$py -m pytest html5lib/tests/
done