File: upstream

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

pyvers=$(py3versions -s)

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

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