File: upstream-tests

package info (click to toggle)
jaraco.context 6.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 192 kB
  • sloc: python: 201; sh: 9; makefile: 4
file content (14 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e -u

DIR="/usr/lib/python3/dist-packages/"
ln -vs "$(pwd)/conftest.py" "$DIR"
ln -vs "$(pwd)/pytest.ini" "$DIR"

cd "$DIR"

for py in $(py3versions -s); do
	echo "Running testsuite with $py:"
	$py -m pytest --doctest-modules jaraco/context/__init__.py -k 'not jaraco.context.repo_context'
done