File: unittests3

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

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

cp -a docs tests.py "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

# Skip the setup.py test
sed -i '/doctest.DocTestSuite()/ d' tests.py

for python in $pythons; do
	echo "=== $python ==="
	$python tests.py 2>&1
done