File: unittests

package info (click to toggle)
objgraph 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 928 kB
  • ctags: 117
  • sloc: python: 647; makefile: 138; sh: 18
file content (15 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -efu

pythons="$(pyversions -r 2> /dev/null)"

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

# 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