File: unittests3

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

pys="$(py3versions -s 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 $(py3versions -s); do
	echo "=== $py ==="
	$py -m pytest html5lib/tests/
done