File: unittests

package info (click to toggle)
python-enmerkar 0.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 280 kB
  • sloc: python: 645; makefile: 167; sh: 9
file content (12 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e
set -x

PYTHON3S=$(py3versions -vs)
for i in ${PYTHON3S} ; do
	python${i} setup.py install --install-layout=deb --root $(pwd)/debian/tmp
	http_proxy=127.0.0.1:9 https_proxy=127.0.0.9:9 \
		HTTP_PROXY=127.0.0.1:9 HTTPS_PROXY=127.0.0.1:9 \
		PYTHONPATH=`pwd`/debian/tmp/usr/lib/python3/dist-packages python$i -m pytest tests -v
done