File: unittests

package info (click to toggle)
markdown-it-py 2.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,764 kB
  • sloc: python: 4,805; xml: 29; sh: 29; makefile: 27
file content (20 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (2)
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