File: upstream

package info (click to toggle)
python-pytest-xprocess 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: python: 756; makefile: 25; sh: 10
file content (14 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -eu

pyvers=$(py3versions -r 2>/dev/null)

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

PYTEST_MATCH="not test_interruption_cleanup and not test_interruption_does_not_cleanup"
for py in ${pyvers}; do
  echo "-=-=-=-=-=-=-=- running tests for ${py} -=-=-=-=-=-=-=-=-"
  printf '$ %s\n' "${py} -m pytest -v -k \"${PYTEST_MATCH}\" tests"
  ${py} -m pytest -v -k "${PYTEST_MATCH}" tests
done